8000 feat: add MCP configuration examples · loonghao/pypi-query-mcp-server@ec677fb · GitHub
[go: up one dir, main page]

Skip to content

Commit ec677fb

Browse files
committed
feat: add MCP configuration examples
- Add Claude Desktop configuration example - Add Cursor MCP configuration example - Provide ready-to-use configuration files for users
1 parent 3cbb43f commit ec677fb

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

examples/claude_desktop_config.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"mcpServers": {
3+
"pypi-query": {
4+
"command": "uvx",
5+
"args": ["--from", "pypi-query-mcp-server", "pypi-query-mcp"],
6+
"env": {
7+
"PYPI_INDEX_URL": "https://pypi.org/simple/",
8+
"CACHE_TTL": "3600"
9+
}
10+
}
11+
}
12+
}

examples/cursor_mcp.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"mcpServers": {
3+
"pypi-query": {
4+
"command": "uvx",
5+
"args": ["--from", "pypi-query-mcp-server", "pypi-query-mcp"],
6+
"env": {
7+
"PYPI_INDEX_URL": "https://pypi.org/simple/",
8+
"CACHE_TTL": "3600"
9+
}
10+
}
11+
}
12+
}

0 commit comments

Comments
 (0)
0