# Build a Custom MCP Client SUMMARY: Connect to the Synapse MCP server from your own application using the MCP SDK. Build a Custom MCP Client If you're building your own LLM application, you can connect to the Synapse MCP server directly using the official MCP SDK. This gives your app access to all 79 Synapse tools. SDKs | Language | Package | |----------|---------| | TypeScript/JavaScript | | | Python | | TypeScript Example Install [CODE BLOCK] Connect via stdio [CODE BLOCK] Connect via HTTP/SSE (remote) [CODE BLOCK] Python Example Install [CODE BLOCK] Connect via stdio [CODE BLOCK] Tool Profiles When connecting, you can request a specific tool profile via the header (HTTP/SSE) or env var (stdio): [CODE BLOCK] Error Handling [CODE BLOCK] Use Cases - Custom AI assistants — build your own agent with persistent memory - Workflow automation — chain Synapse tools in custom workflows - Data pipelines — extract memories, transform, load elsewhere - Monitoring dashboards — display memory stats, chat history, tasks Next Steps - MCP Specification - Synapse MCP Repo - API Overview