Every resource is context for your AI

Connect remote MCP servers, set granular tool-execution policies for your AI, and give agents access to tools, prompts, and resources—all from one place

Connect your AI to 100+ platforms instantly

GitHub
Gmail
Google Docs
x
Notion
Netlify
Heroku
cloudinary
Higgsfield
Perplexity
Calendly
Mem0
Context 7
Firecrawl
Parallel Search
Exa

A toolkit for building with MCP

The Model Context Protocol makes it possible for AI apps to use tools and data, but building on top of it is more than tool invocation. You need sessions, OAuth flows, storage, reconnects, and framework integrations. mcp-ts takes care of that application layer so you can focus on what your app does.

Multi-user sessions

Persist and restore MCP connections per user across restarts with pluggable storage backends.

OAuth 2.1 handling

Full authorization flow — redirect, token exchange, and automatic refresh out of the box.

Framework adapters

Built-in adapters for AI SDK, LangChain, Mastra, and AG-UI Protocol.

ToolRouter

On-demand tool discovery across servers. Loads only what each request needs, reducing context bloat.

No vendor lock-in

Your MCP data stays in infrastructure you control — Redis, SQLite, Neon, Supabase, or memory.

CodeMode sandbox

Run programmatic tool calls inside a secure sandbox, avoiding expensive LLM tool-calling loops.

@mcp-ts/sdk

Core SDK with multi-backend session storage, OAuth 2.1 handling, SSE support, React and Vue hooks, and adapters for AI SDK, LangChain, and Mastra.

@mcp-ts/tool-router

On-demand tool discovery across multiple MCP servers. Reduces context bloat by loading only the tools needed for each request.

@mcp-ts/codemode

Sandboxed program execution for tool calling. Runs results inside a secure environment, avoiding expensive LLM tool-calling loops.

Remote MCP Server

A hosted Streamable HTTP endpoint providing instant access to 100+ app connectors, tool discovery, and CodeMode.

Endpoint
https://api.mcp-assistant.in/mcp
Calendar
HubSpot
Linear
Supabase
Stripe
Zoom
GitLab
Exa
Twilio
Trello
Asana
Shopify
ClickUp
Zendesk
Intercom
Mailchimp

Connect to 100+ tools and platforms instantly. Powered by Composio connectors, this single unified endpoint provides access to all your favorite apps with secure sandbox execution and discovery.

Works with your favorite IDE

VS Code
Cursor
Claude Desktop
ChatGPT
Antigravity
OpenCode
Cline
View setup guide

Get started

Install the SDK and build MCP-powered apps in minutes.

1Install the package
npm install @mcp-ts/sdk
2Connect and explore
import { useMcp } from "@mcp-ts/sdk/client/react"

const { connections, connect } = useMcp({
url: "https://mcp.grep.app",
userId: "user-123",
})

await connect({
serverId: "my-server",
serverName: "My MCP Server",
serverUrl: "https://mcp.example.com",
callbackUrl: window.location.origin + "/callback",
})

Frequently Asked Questions

Common questions about MCP Assistant.