{
  "slug": "build-and-ship-an-mcp-server",
  "title": "Build, host and test your own MCP server",
  "promise": "Write the server in TypeScript, host it over HTTP in your app, add inline UIs, test against mocks, and reach clients that only speak stdio.",
  "week": "2026-11-28",
  "url": "https://agentswitchboard.dev/stacks/build-and-ship-an-mcp-server",
  "bundleUrl": "https://agentswitchboard.dev/api/bundle?items=mcp-typescript-sdk,mcp-handler,mcp-apps,aimock,mcporter,mcp-remote",
  "items": [
    {
      "name": "MCP TypeScript SDK",
      "slug": "mcp-typescript-sdk",
      "url": "https://agentswitchboard.dev/agents/mcp-typescript-sdk",
      "iconUrl": "https://agentswitchboard.dev/icons/mcp-typescript-sdk.png?v=090dd55a",
      "description": "Builds MCP servers and clients in TypeScript with typed tool, resource, and prompt primitives plus stdio and streamable HTTP transports.",
      "provider": "Model Context Protocol",
      "categories": [
        "code-devtools",
        "infrastructure"
      ],
      "accessMethods": [
        "api"
      ],
      "verified": true,
      "official": false,
      "featured": true,
      "sponsored": false,
      "authType": "none",
      "why": "Typed tool, resource and prompt primitives with stdio and streamable HTTP transports."
    },
    {
      "name": "mcp-handler",
      "slug": "mcp-handler",
      "url": "https://agentswitchboard.dev/agents/mcp-handler",
      "iconUrl": "https://agentswitchboard.dev/icons/mcp-handler.png?v=ae7c0ace",
      "description": "Hosts MCP servers inside Next.js, Nuxt, SvelteKit, Hono, and other Fetch-based JavaScript apps with one Web-standard request handler.",
      "provider": "Vercel",
      "categories": [
        "infrastructure",
        "code-devtools"
      ],
      "accessMethods": [
        "api"
      ],
      "verified": true,
      "official": true,
      "featured": false,
      "sponsored": false,
      "authType": "none",
      "why": "Hosts the server over HTTP inside your JavaScript or TypeScript app."
    },
    {
      "name": "MCP Apps",
      "slug": "mcp-apps",
      "url": "https://agentswitchboard.dev/agents/mcp-apps",
      "iconUrl": "https://agentswitchboard.dev/icons/mcp-apps.png?v=8dcb6c62",
      "description": "Builds interactive UIs like charts, forms and dashboards that MCP tools render inline in Claude, ChatGPT and VS Code, with the official MCP Apps SDK, for MCP server developers.",
      "provider": "Model Context Protocol",
      "categories": [
        "code-devtools"
      ],
      "accessMethods": [
        "api"
      ],
      "verified": true,
      "official": false,
      "featured": false,
      "sponsored": false,
      "authType": "none",
      "why": "Adds interactive UIs that MCP clients render inline."
    },
    {
      "name": "aimock",
      "slug": "aimock",
      "url": "https://agentswitchboard.dev/agents/aimock",
      "iconUrl": "https://agentswitchboard.dev/icons/aimock.png?v=2c9d35b1",
      "description": "Mocks LLM APIs, MCP tools, A2A agents, AG-UI streams, and vector databases on one local port so AI app tests run offline and deterministically.",
      "provider": "CopilotKit",
      "categories": [
        "code-devtools"
      ],
      "accessMethods": [
        "cli",
        "api"
      ],
      "verified": true,
      "official": false,
      "featured": false,
      "sponsored": false,
      "authType": "none",
      "why": "Answers LLM provider and MCP calls deterministically, so tests run without live services."
    },
    {
      "name": "MCPorter",
      "slug": "mcporter",
      "url": "https://agentswitchboard.dev/agents/mcporter",
      "iconUrl": "https://agentswitchboard.dev/icons/mcporter.png?v=0b5205f9",
      "description": "Calls any MCP server from the terminal or TypeScript: lists and calls tools, handles OAuth, and generates standalone CLIs and typed clients.",
      "provider": "OpenClaw",
      "categories": [
        "code-devtools",
        "infrastructure"
      ],
      "accessMethods": [
        "cli",
        "api"
      ],
      "verified": true,
      "official": false,
      "featured": false,
      "sponsored": false,
      "authType": "none",
      "why": "Calls the configured server from a CLI or TypeScript to try each tool."
    },
    {
      "name": "mcp-remote",
      "slug": "mcp-remote",
      "url": "https://agentswitchboard.dev/agents/mcp-remote",
      "iconUrl": null,
      "description": "Connects stdio-only MCP clients such as Claude Desktop to remote MCP servers, handling OAuth sign-in, custom auth headers, and transports.",
      "provider": "Frank Fiegel",
      "categories": [
        "infrastructure",
        "code-devtools"
      ],
      "accessMethods": [
        "mcp",
        "cli"
      ],
      "verified": true,
      "official": false,
      "featured": false,
      "sponsored": false,
      "authType": "none",
      "why": "Lets stdio-only MCP clients connect to the remote server, with OAuth."
    }
  ]
}