Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 23 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,27 @@ You can also run the server using Docker.

```bash
docker build -t github-see-mcp-server .
docker run -d -p 3200:3200 -e MCP_TIMEOUT="180000" -e LOG_LEVEL="info" -e CORS_ALLOW_ORIGIN="*" -e GITHUB_TOKEN={YOUR_TOKEN_HERE} -e MCP_SSE_PORT="3200" -e USE_MULTIPLEXING_SSE="true" --name github-see-mcp-server github-see-mcp-server
docker run -d -p 8080:8080 \
-e USE_MULTIPLEXING_SSE="true" \
-e MCP_TIMEOUT="1800000" \
-e SSE_TIMEOUT="1800000" \
-e LOG_LEVEL="info" \
-e CORS_ALLOW_ORIGIN="*" \
-e GITHUB_TOKEN="{YOUR GITHUB TOKEN}" \
-e MCP_SSE_PORT="8080" \
-e RATE_LIMIT_WINDOW_MS="900000" \
-e RATE_LIMIT_MAX_REQUESTS="100" \
-e RATE_LIMIT_SSE_MAX="5" \
-e RATE_LIMIT_MESSAGES_MAX="30" \
-e DEFAULT_USER_RATE_LIMIT="1000" \
-e HSTS_MAX_AGE="31536000" \
-e CSP_REPORT_ONLY="true" \
-e CSP_REPORT_URI="https://apprecio.cl/csp-report" \
-e NODE_ENV="production" \
-e DISABLE_HSTS="false" \
-e API_KEY="{YOUR AUTHORIZATION TOKEN}" \
--name github-see-mcp-server \
github-see-mcp-server
```

This command:
Expand Down Expand Up @@ -178,6 +198,8 @@ To connect to this MCP server with Claude, add the following configuration to yo
"-y",
"mcp-remote@0.1.15",
"https://{Your domain}/sse",
"--header",
"Authorization: Bearer {YOUR AUTHORIZATION TOKEN}",
"--transport",
"sse-only"
]
Expand Down
1 change: 0 additions & 1 deletion src/middleware/auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import { Request, Response, NextFunction } from 'express';
import { config } from '#config/index';
import { logger } from '#core/logger';


export const authenticate = (req: Request, res: Response, next: NextFunction): void => {
const authHeader = req.headers['authorization'];

Expand Down