An sdk for creating MCP Servers with north
Connect North MCP Python SDK to Claude, Cursor or any other MCP client and it stops being a tab you switch to. An sdk for creating MCP Servers with north. The north mcp python sdk mcp server is what makes that connection.
This SDK builds on top of the original SDK. Please refer to the original repository's README for general information. This README focuses on North-specific details.
@modelcontextprotocol/inspector on npm is all you need. Most clients run it directly, so configuration is a few lines and a restart.
The toolset is worth reading before you wire it up, because it tells you what the integration is really for:
Built — in health check** endpoint for Kubernetes liveness probes (enabled by default)Command — uvArguments — run examples/server_with_auth.py --transport stdioURL — http://localhost:5222/mcpAuthentication — > Bearer token: eyJzZXJ2ZXJfc2VjcmV0IjogInNlcnZlcl9zZWNyZXQiLCAidXNlcl9pZF90b2tlbiI6ICJleUpoYkdjaU9pSklVekkxTmlJc0luUjVjQ0k2SWtwWFZDSjkuZXlKbGJXRnBiQ0Helper — PurposeTelemetryConfig — Opt-in config object for the telemetry integration (sensitive-data policy, log/trace correlation)mcp.telemetry.traced_span — Custom spans nested under FastMCP tool spans, driven by the server's TelemetryConfig. Use this when you have mcp in scopeDepends — Re-export of FastMCP's Depends factory. Combine with get_telemetry_config for FastAPI-style parameter injection: telemetry: TelemetryConfig =get_tracer — Re-export of FastMCP's tracer (fastmcp instrumentation name)TraceContextFormatter — Appends trace_id / span_id to log lines on the NorthMCP.{name} logger when a span is activerecord_sensitive_data — FalseConfiguration is passed through the environment: DEBUG. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.
To contribute to this project, you'll need: - Python 3.11+: Required for the SDK - uv >= 0.8.13: Used for dependency management, formatting, and CI checks
Among the developer tooling options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. North MCP Python SDK's toolset — Built, Command, Arguments and 11 more — is a fair guide to whether it matches your workflow. It is maintained by cohere-ai; worth a glance at recent repository activity before you build anything load-bearing on it.
SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.
| Tool | What it does |
|---|---|
| Built | in health check** endpoint for Kubernetes liveness probes (enabled by default). |
| Command | uv |
| Arguments | run examples/server_with_auth.py --transport stdio |
| URL | http://localhost:5222/mcp |
| Authentication | > Bearer token: eyJzZXJ2ZXJfc2VjcmV0IjogInNlcnZlcl9zZWNyZXQiLCAidXNlcl9pZF90b2tlbiI6ICJleUpoYkdjaU9pSklVekkxTmlJc0luUjVjQ0k2SWtwWFZDSjkuZXlKbGJXRnBiQ0k2SW5SbGMzUkFZMjl0Y0dGdWVTNWpiMjBpZlEuV0pjckVUUi1MZnFtX2xrdE9vdjd0Q1kt |
| Helper | Purpose |
| TelemetryConfig | Opt-in config object for the telemetry integration (sensitive-data policy, log/trace correlation) |
| mcp.telemetry.traced_span | Custom spans nested under FastMCP tool spans, driven by the server's TelemetryConfig. Use this when you have mcp in scope. |
| Depends | Re-export of FastMCP's Depends factory. Combine with get_telemetry_config for FastAPI-style parameter injection: telemetry: TelemetryConfig = Depends(get_telemetry_config). |
| get_tracer | Re-export of FastMCP's tracer (fastmcp instrumentation name) |
| TraceContextFormatter | Appends trace_id / span_id to log lines on the NorthMCP.{name} logger when a span is active |
| record_sensitive_data | False |
| log_trace_context | True |
| Setup | 1. **Register a TracerProvider and exporters in main before importing NorthMCPServer** (FastMCP reads the global provider at import time). Use your own setup or standard OTel env vars (OTEL_EXPORTER_OTLP_ENDPOINT, OTEL_S |
{
"mcpServers": {
"north-mcp-python-sdk": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/inspector"],
"env": {
"DEBUG": "your-value"
}
}
}
}Add to claude_desktop_config.json, then restart Claude Desktop.
To contribute to this project, you'll need: - Python 3.11+: Required for the SDK - uv >= 0.8.13: Used for dependency management, formatting, and CI checks
| Variable | Description | Required |
|---|---|---|
| DEBUG | Configuration value read at startup. | Optional |
Kill hallucinated APIs — version-accurate, up-to-date library documentation injected straight into context.
Microsoft's official browser automation server — drive a real browser through the accessibility tree, no screenshots needed.
GitHub's official server — repos, issues, pull requests, Actions and code security, straight from your assistant.
Issue tracking at the speed of conversation — Linear's official hosted server with OAuth and zero install.
Local repository surgery — status, diffs, commits, branches and history for any repo on disk.
Timezone sanity for AI — current time anywhere and correct conversions, without the model doing date math.