MCP.so
ログイン

概要

What is MCP Server Starter?

A production-ready starter template for building Model Context Protocol (MCP) servers with TypeScript. It provides a project structure, tool scaffolding scripts, and development tooling (Bun, Biome, standard-version) so developers can quickly create new MCP servers and publish them.

How to use MCP Server Starter?

Clone the repository, run bun install, then use bun run scripts/create-tool.ts <tool-name> to scaffold a new tool. Build with bun run build, run tests with bun test. Add the built server to Claude Desktop via its configuration file, or later install from npm or Smithery.

Key features of MCP Server Starter

  • Built with Bun for fast testing and development
  • Biome for linting and formatting
  • Automated version management with standard-version
  • Clean, maintainable project structure
  • Script to scaffold new MCP tools with schema and tests

Use cases of MCP Server Starter

  • Creating a new MCP server from a consistent template
  • Scaffolding multiple custom tools quickly using the included generator
  • Setting up a development pipeline with linting, formatting, and testing
  • Publishing MCP servers to npm for public use
  • Integrating MCP servers with Claude Desktop via command-line configuration

FAQ from MCP Server Starter

What are the main dependencies?

The starter uses Bun as the runtime and package manager, Biome for linting/formatting, and standard‑version for release management.

How do I create a new tool?

Run bun run scripts/create-tool.ts <tool-name>. It generates a tool directory with index.ts, schema.ts, and test.ts, and updates the tools index.

How do I integrate with Claude Desktop?

Build the project (bun run build), then add an entry to Claude Desktop’s config file with "command": "node" and "args": ["/path/to/dist/main.js"].

Can I publish this to npm?

Yes. Run bun run release to bump the version, then bun run build and npm publish. Package will be available as an npx command.

Where does tool data live?

Data is defined inside the source files (schemas, implementations) – the template does not include any external data source or API.

タグ

「メディアとデザイン」の他のコンテンツ