- North MCP Python SDK
North MCP Python SDK
What is North MCP Python SDK?
The North MCP Python SDK is a software development kit designed for creating MCP (Model Context Protocol) servers with North, a custom extension to the original SDK. It builds upon the original SDK to provide additional functionalities specific to North.
How to use North MCP Python SDK?
To use the North MCP Python SDK, install it via pip with the command: uv pip install git+ssh://git@github.com/cohere-ai/north-mcp-python-sdk.git. You can then create servers that utilize North's authentication features and access user identities.
Key features of North MCP Python SDK?
- Supports StreamableHTTP transport for server communication.
- Allows protection of server requests with a secret.
- Provides access to user OAuth tokens for third-party service interactions.
- Enables retrieval of user identity from the identity provider used with North.
Use cases of North MCP Python SDK?
- Building secure MCP servers that require user authentication.
- Integrating third-party services like Google Drive or Slack using OAuth.
- Developing applications that need to access user identities for personalized experiences.
FAQ from North MCP Python SDK?
- What is the main difference between North and the original SDK?
North only supports StreamableHTTP transport and introduces user authentication features.
- Can I run the SDK locally without connecting to North?
Yes! You can test your MCP server locally using the MCP Inspector without requiring a connection to North.
- How do I authenticate users?
The SDK provides several strategies for user authentication, including bearer tokens and server secrets.