loading…
Search for a command to run...
loading…
An agent-ready TypeScript template for building Model Context Protocol (MCP) servers with standardized discovery flows and permission-aware tools. It provides p
An agent-ready TypeScript template for building Model Context Protocol (MCP) servers with standardized discovery flows and permission-aware tools. It provides pre-configured core and operable profiles to help developers quickly implement, test, and distribute production-ready MCP services.
Agent-ready TypeScript MCP starter with two profiles:
core: minimal transport/runtime profile with one tool, one fixed resource, and one promptoperable: recommended default profile with discovery resources, resource templates, usage guidance, runtime defaults, and permission-aware examplesnpm run dev: start the operable server profile with stdio transportnpx tsx src/index.ts: run directly from source mode (requires correct cwd)npm run catalog:generate: rebuild generated catalog artifacts from docs manifest + source seedsnpm run build: regenerate catalogs and build the package entrypointnpm run typecheck: run TypeScript validationnpm test: run deterministic unit testsnpm run protocol:sync: refresh the MCP protocol docs under docs/protocolnpm run inspect: launch MCP Inspector against the local source servernpm run inspect:help: show MCP Inspector CLI optionsnpm run pack:dry-run: verify package contents and publish surfaceThe detailed implementation and hardening plan lives in OPERABLE_MCP_IMPLEMENTATION_PLAN.md.
Available through createCoreMcpServer() in src/server.ts.
Includes:
echoapp://statussummarizeDefault profile through createMcpServer() and startServer().
Adds:
app://indexapp://catalog/toolsapp://catalog/resourcesapp://catalog/promptsapp://runtime/defaultsapp://usageapp://doc/{slug}app://schema/{id}app://example/{name}server_usage_guideadmin_echoRecommended order:
app://indexapp://catalog/toolsapp://runtime/defaultsapp://catalog/resources and app://catalog/promptsapp://usage or prompt server_usage_guide before non-trivial callsThis prevents unnecessary discovery when runtime defaults already exist.
The operable profile exposes environment-derived defaults through app://runtime/defaults.
Supported environment variables:
MCP_DEFAULT_ACCOUNT_SIDMCP_DEFAULT_SERVICE_PROVIDER_SIDMCP_DEFAULT_REGIONMCP_DEFAULT_PAGEMCP_DEFAULT_COUNTMCP_PERMISSION_LEVEL (none, read, write, admin)MCP_DOCS_DIRBehavior:
MCP_DOCS_DIR points to a valid docs corpus, app://doc/{slug} reads markdown files from that locationThe starter demonstrates permission-first execution in admin_echo:
This models the “visible vs usable” distinction real agent-facing servers need.
Generated modules live in src/generated/:
They are rebuilt by tools/generate-catalog.ts using:
This starter includes integration with MCP Inspector.
npm run inspectThis package now includes:
bin entry (mcp-starter)files whitelistRecommended execution modes:
npx tsx src/index.ts (local development, cwd-dependent)npx -y mcp-starter (stable client-facing command once published)The reusable implementation workflow lives in skills/mcp-builder/SKILL.md.
Добавь это в claude_desktop_config.json и перезапусти Claude Desktop.
{
"mcpServers": {
"mcp-starter": {
"command": "npx",
"args": []
}
}
}