# basementstudio/xmcp

The TypeScript MCP framework

Repository: https://github.com/basementstudio/xmcp
Canonical: https://ross.abutalabs.com/products/xmcp
Homepage: https://xmcp.dev
Language: TypeScript
License: MIT
License Family: permissive
Topics: framework, mcp, typescript, modelcontextprotocol
Last push: 2026-08-24T09:22:36+00:00

## Health v2 (maintenance only)
Score: 82/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 99, release rhythm 87, longevity 33
- inputs: {"age_days": 473, "days_push": 9, "days_rel": 9, "gap_med": 1.0, "n_releases_24m": 77}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1320, forks 94 (observed 2026-08-28T04:04:21.285756+00:00)

## What it is
xmcp is a TypeScript framework for building and deploying MCP (Model Context Protocol) servers, with file-system-based auto-discovery of tools, prompts, and resources. It supports HTTP and STDIO transports, integrates with Next.js, Express, Fastify, and NestJS, and includes middleware, auth, and monetization integrations.

## Use cases
- build an MCP server in TypeScript
- expose tools to Claude Desktop or Cursor
- deploy a remote MCP server over HTTP
- add MCP tools to an existing Next.js or Express app
- scaffold an MCP project with a CLI
- add authentication to MCP tool endpoints

## When to choose
- you want a batteries-included, Next.js-like DX for MCP servers
- you need both HTTP and STDIO transports
- you want automatic registration of tools, prompts, and resources
- you're deploying MCP servers to cloud or serverless environments

## When to avoid
- you need a Python MCP server
- you want stateful HTTP sessions
- you prefer manual, low-level control over the MCP protocol
- you need a language other than TypeScript

## Facets
- artifact type: framework
- maturity: active
- function: mcp, web-framework, api-framework, middleware, routing, cli, auth
- domain: large-language-models, developer-tools, web-development, backend
- platform: cross-platform, cloud, serverless
- tags: mcp-servers, model-context-protocol, file-based-routing, zod, nextjs, express, http-transport, stdio-transport, ai-agents, nodejs, typescript

## Member repositories
- basementstudio/xmcp (main) score 82

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:21.285756+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:47:25.818957+00:00, confidence not recorded.
  - readme: https://github.com/basementstudio/xmcp (fetched 2026-08-28T04:04:21.285756+00:00, sha 26edf7eb99db)
  - homepage: https://xmcp.dev (fetched 2026-08-29T12:06:31.025473+00:00, sha e72091e329a8)
  - site_page: https://xmcp.dev/docs (fetched 2026-08-29T12:06:31.035032+00:00, sha 36e605f6d743)
  - site_page: https://xmcp.dev/faq (fetched 2026-08-29T12:06:31.036882+00:00, sha a7f81aaf4f4f)
  - site_page: https://xmcp.dev/blog/xmcp-v1 (fetched 2026-08-29T12:06:31.038591+00:00, sha a663a1b71aed)
- Data as of 2026-08-30T08:39:29.467469+00:00.
