Python
Using the official MCP Python SDK:LangChain and LangGraph
Node.js
Using the official MCP TypeScript SDK:Authentication in code
When connecting programmatically, the server will initiate the OAuth flow. To skip the interactive OAuth prompt in automated environments, run the server locally with your API key set as an environment variable and connect to localhost instead:http://localhost:3000/sse.

