Install
$ agentstack add mcp-milisp-mcp-config-path ✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
About
MCP Config Path
A Python utility to get the configuration file path for various MCP (Multi-Client Platform) clients, such as Claude Desktop, Cline, Cursor, VSCode, and more. This library helps you locate the config file for each supported client on your system.
Features
- Supports multiple clients: Claude Desktop, Cline, Roo Code, Claude Code, VSCode, Cursor, mcphub.nvim, windsurf, mcplinker, and more.
- Cross-platform support (macOS, Windows, Linux where applicable).
- Simple API to get the config path by client name.
Supported Clients
| Name | Description / Path Example | |----------------|---------------------------| | claudedesktop | Claude Desktop config | | cline | Cline extension for VSCode | | roocode | Roo Code extension | | claude_code | Claude Code extension | | vscode | VSCode extension | | cursor | Cursor editor extension | | mcphub.nvim | mcphub.nvim Neovim plugin | | windsurf | Codeium windsurf | | mcplinker | mcplinker tool | | (other) | Defaults to mcp.json |
Installation
uv pip install mcp-config-path
Or with pip:
pip install mcp-config-path
Usage
from mcp_config_path.main import get_config_path
# Get config path for Cursor
path = get_config_path("cursor")
print(path)
# Get config path for VSCode, with a custom base path
path = get_config_path("vscode", "/custom/home")
print(path)
API
getconfigpath(name: str, path: Optional[str] = None) -> str
name: The client name (see Supported Clients table).path: Optional base path. If not provided, uses the user's home directory.- Returns: The absolute path to the config file as a string.
License
This project is licensed under the MIT License.
Source & license
This open-source MCP server is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: milisp
- Source: milisp/mcp-config-path
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet — be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.