File tree Expand file tree Collapse file tree 1 file changed +15
-7
lines changed
Expand file tree Collapse file tree 1 file changed +15
-7
lines changed Original file line number Diff line number Diff line change @@ -66,24 +66,32 @@ docker compose up -d
6666 - Username: mcp_user
6767 - Password: (use POSTGRES_PASSWORD from .env)
6868
69- For development with auto-rebuild :
69+ 5 . Access MCP server :
7070
71- ``` bash
72- npm run watch
73- ```
71+ The MCP server provides two endpoints:
72+
73+ - SSE endpoint: http://localhost:8000/sse
74+ - POST messages: http://localhost:8000/message
7475
7576## Installation
7677
7778To use with Claude Desktop, add the server config:
7879
79- On MacOS: ` ~/Library/Application Support/Claude/claude_desktop_config.json `
80- On Windows: ` %APPDATA%/Claude/claude_desktop_config.json `
80+ - On MacOS: ` ~/Library/Application Support/Claude/claude_desktop_config.json `
81+ - On Windows: ` %APPDATA%/Claude/claude_desktop_config.json `
8182
8283``` json
8384{
8485 "mcpServers" : {
8586 "docs-mcp-server" : {
86- "command" : " /path/to/docs-mcp-server/build/index.js"
87+ "command" : " node" ,
88+ "args" : [" /path/to/docs-mcp-server/dist/server.js" ],
89+ "env" : {
90+ "OPENAI_API_KEY" : " sk-proj-..." ,
91+ "POSTGRES_CONNECTION" : " postgresql://mcp_user:docs_mcp@localhost:5432/docs_mcp"
92+ },
93+ "disabled" : false ,
94+ "autoApprove" : []
8795 }
8896 }
8997}
You can’t perform that action at this time.
0 commit comments