Use this pattern when the implementation of an MCP server is private (internal repo, local checkout, or org registry) but the agent contract is public (e.g. contracts/scp_mcp_v1.md).
Do not commit secrets. Replace placeholders with your paths or package runner.
{
"mcpServers": {
"scp": {
"command": "python",
"args": ["-m", "scp.scp_mcp"],
"env": {}
}
}
}Variations:
- Editable install:
"command": "D:/path/to/.venv/Scripts/python.exe"andargspointing at your private checkout. - Published internal wheel: same, with venv that
pip install’d your private package.
- Confirm each tool name the agent expects appears in the host’s tool list (see contract doc).
- Run your server’s contract tests (private CI) before tagging a release.
- Record CONTRACT_HASH for that release in private changelog and optionally SCP_SERVER_RELEASES.md.