From ec677fb70963010f49c441553cffd70417b51ffb Mon Sep 17 00:00:00 2001 From: longhao Date: Tue, 27 May 2025 11:33:10 +0800 Subject: [PATCH] feat: add MCP configuration examples - Add Claude Desktop configuration example - Add Cursor MCP configuration example - Provide ready-to-use configuration files for users --- examples/claude_desktop_config.json | 12 ++++++++++++ examples/cursor_mcp.json | 12 ++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 examples/claude_desktop_config.json create mode 100644 examples/cursor_mcp.json diff --git a/examples/claude_desktop_config.json b/examples/claude_desktop_config.json new file mode 100644 index 0000000..ddf6120 --- /dev/null +++ b/examples/claude_desktop_config.json @@ -0,0 +1,12 @@ +{ + "mcpServers": { + "pypi-query": { + "command": "uvx", + "args": ["--from", "pypi-query-mcp-server", "pypi-query-mcp"], + "env": { + "PYPI_INDEX_URL": "https://pypi.org/simple/", + "CACHE_TTL": "3600" + } + } + } +} diff --git a/examples/cursor_mcp.json b/examples/cursor_mcp.json new file mode 100644 index 0000000..ddf6120 --- /dev/null +++ b/examples/cursor_mcp.json @@ -0,0 +1,12 @@ +{ + "mcpServers": { + "pypi-query": { + "command": "uvx", + "args": ["--from", "pypi-query-mcp-server", "pypi-query-mcp"], + "env": { + "PYPI_INDEX_URL": "https://pypi.org/simple/", + "CACHE_TTL": "3600" + } + } + } +}