Skip to content

Commit 105931f

Browse files
committed
test: server
1 parent 3d4153a commit 105931f

File tree

6 files changed

+554
-82
lines changed

6 files changed

+554
-82
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,13 +138,13 @@ By default, the server communicates over stdio. To run the server over HTTP inst
138138
npx @patternfly/patternfly-mcp --http
139139
```
140140

141-
This starts the server on `http://localhost:3000` (default port and host).
141+
This starts the server on `http://127.0.0.1:3000` (default port and host).
142142

143143
### HTTP options
144144

145145
- `--http`: Enable HTTP transport mode (default: stdio)
146146
- `--port <number>`: Port number to listen on (default: 3000)
147-
- `--host <string>`: Host address to bind to (default: localhost)
147+
- `--host <string>`: Host address to bind to (default: 127.0.0.1)
148148
- `--allowed-origins <origins>`: Comma-separated list of allowed CORS origins
149149
- `--allowed-hosts <hosts>`: Comma-separated list of allowed host headers
150150
- `--kill-existing`: Automatically kill any existing server process using the same port

eslint.config.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,11 @@ export default [
6565

6666
// Test files
6767
{
68-
files: ['**/*.test.ts'],
68+
files: [
69+
'**/*.test.ts',
70+
'tests/**/*.test.ts',
71+
'**/__tests__/**/*test.ts'
72+
],
6973
rules: {
7074
'@typescript-eslint/no-explicit-any': 0,
7175
'no-sparse-arrays': 0

0 commit comments

Comments
 (0)