{"id":50428398,"url":"https://github.com/factspark23-hash/mcp-toolkit","last_synced_at":"2026-05-31T12:02:10.212Z","repository":{"id":353285723,"uuid":"1218759276","full_name":"factspark23-hash/mcp-toolkit","owner":"factspark23-hash","description":"🔧 Swiss Army Knife for MCP Servers — Test, Debug, Scaffold \u0026 Discover Model Context Protocol servers","archived":false,"fork":false,"pushed_at":"2026-04-23T08:56:43.000Z","size":57,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-04-23T09:31:02.128Z","etag":null,"topics":["ai","claude","cli","developer-tools","llm","mcp","model-context-protocol","modelcontextprotocol","testing","typescript"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/factspark23-hash.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-04-23T07:30:37.000Z","updated_at":"2026-04-23T08:56:46.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/factspark23-hash/mcp-toolkit","commit_stats":null,"previous_names":["factspark23-hash/mcp-toolkit"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/factspark23-hash/mcp-toolkit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/factspark23-hash%2Fmcp-toolkit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/factspark23-hash%2Fmcp-toolkit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/factspark23-hash%2Fmcp-toolkit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/factspark23-hash%2Fmcp-toolkit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/factspark23-hash","download_url":"https://codeload.github.com/factspark23-hash/mcp-toolkit/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/factspark23-hash%2Fmcp-toolkit/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33730241,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-31T02:00:06.040Z","response_time":95,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai","claude","cli","developer-tools","llm","mcp","model-context-protocol","modelcontextprotocol","testing","typescript"],"created_at":"2026-05-31T12:02:07.104Z","updated_at":"2026-05-31T12:02:10.203Z","avatar_url":"https://github.com/factspark23-hash.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n# 🔧 MCP Toolkit\n\n### The Swiss Army Knife for Model Context Protocol Servers\n\n**Test · Inspect · Scaffold · Discover · Monitor**\n\n[![npm version](https://img.shields.io/npm/v/factspark-mcp-toolkit?style=flat-square\u0026color=blue)](https://www.npmjs.com/package/factspark-mcp-toolkit)\n[![License: MIT](https://img.shields.io/badge/License-MIT-green.svg?style=flat-square)](https://opensource.org/licenses/MIT)\n[![Node.js](https://img.shields.io/badge/node-%3E%3D18-brightgreen?style=flat-square)](https://nodejs.org)\n[![GitHub stars](https://img.shields.io/github/stars/factspark23-hash/mcp-toolkit?style=flat-square)](https://github.com/factspark23-hash/mcp-toolkit/stargazers)\n[![GitHub issues](https://img.shields.io/github/issues/factspark23-hash/mcp-toolkit?style=flat-square)](https://github.com/factspark23-hash/mcp-toolkit/issues)\n\n[Quick Start](#-quick-start) · [Commands](#-commands) · [Why MCP Toolkit?](#-why-mcp-toolkit) · [Contributing](#-contributing)\n\n\u003c/div\u003e\n\n---\n\nBuilding MCP servers? You know the pain:\n\n- **No way to test** your server without writing a full client\n- **No standard tool** to validate protocol compliance\n- **Boilerplate hell** every time you start a new server\n- **Finding servers** means digging through GitHub repos\n\n**MCP Toolkit fixes all of that.** One CLI, five commands, zero friction.\n\n## ⚡ Quick Start\n\n```bash\n# Install globally\nnpm install -g factspark-mcp-toolkit\n\n# Test any MCP server\nmcp-toolkit test npx @modelcontextprotocol/server-filesystem /tmp\n\n# Interactive inspector\nmcp-toolkit inspect npx @modelcontextprotocol/server-filesystem /tmp\n\n# Scaffold a new server\nmcp-toolkit scaffold my-server --language typescript\n\n# Browse the registry\nmcp-toolkit discover --category database\n\n# Health check\nmcp-toolkit health npx @modelcontextprotocol/server-memory\n```\n\n## 🎯 Commands\n\n### `mcp-toolkit test` — Validate Everything\n\nRuns a full compliance check on any MCP server:\n\n```bash\nmcp-toolkit test ./my-server.js\nmcp-toolkit test npx @modelcontextprotocol/server-github\nmcp-toolkit test python server.py\nmcp-toolkit test http://localhost:3000\n```\n\n**What it checks:**\n- ✅ Server starts and completes handshake\n- ✅ Protocol version compatibility\n- ✅ All tools have valid schemas\n- ✅ Tools respond to calls\n- ✅ Resources are readable\n- ✅ Prompts return messages\n- ✅ Response time benchmarks\n\n**Output:**\n```\nTest Results\n────────────────────────────────────────────────────────\n  ✓ connection\n  ✓ server-info          my-server v1.0.0\n  ✓ capabilities         tools=3 resources=1 prompts=2\n  ✓ tool:greet           Responded to empty call in 45ms\n  ✓ tool:calculate       Schema validates required params\n  ✓ resource:info://app  Readable — 1 content block(s)\n  ✓ prompt:summarize     Returns 1 message(s)\n\n────────────────────────────────────────────────────────\n  7 passed\n```\n\n**JSON output for CI:**\n```bash\nmcp-toolkit test ./server.js --json | jq '.[] | select(.status == \"fail\")'\n```\n\n### `mcp-toolkit inspect` — Interactive Debugger\n\nBrowse and call tools, read resources, test prompts — all interactively:\n\n```bash\nmcp-toolkit inspect npx @modelcontextprotocol/server-filesystem /tmp\n```\n\n```\n🔍 Interactive MCP Inspector\n\n✓ Connected — 5 tools, 1 resources, 0 prompts\n\n? What do you want to do? (Use arrow keys)\n  🔧 Browse Tools (5)\n  📦 Browse Resources (1)\n  💬 Browse Prompts (0)\n  📊 Server Info\n  ─────────────\n  🚔 Exit\n```\n\n### `mcp-toolkit scaffold` — Zero to Server in Seconds\n\nGenerate production-ready MCP server projects:\n\n```bash\n# TypeScript minimal\nmcp-toolkit scaffold my-server --language typescript --template minimal\n\n# Python full (with prompts, tests, etc.)\nmcp-toolkit scaffold my-server --language python --template full\n\n# Skip npm install\nmcp-toolkit scaffold my-server --no-install\n```\n\n**Templates:**\n\n| Language | Template | What's Included |\n|----------|----------|----------------|\n| TypeScript | `minimal` | Server, tool, resource, README |\n| TypeScript | `full` | + prompts, tests, eslint, vitest |\n| Python | `minimal` | Server, tool, resource, README |\n| Python | `full` | + prompts, tests, pytest |\n\n### `mcp-toolkit discover` — Server Registry\n\nFind MCP servers from a curated, tested registry:\n\n```bash\n# Browse all\nmcp-toolkit discover\n\n# Search\nmcp-toolkit discover --query filesystem\n\n# Filter by category\nmcp-toolkit discover --category database\n\n# JSON output\nmcp-toolkit discover --json\n```\n\n**Categories:** `filesystem` · `database` · `devtools` · `search` · `browser` · `api` · `ai` · `communication` · `web` · `reference`\n\n### `mcp-toolkit health` — Monitor Servers\n\n```bash\n# One-time check\nmcp-toolkit health ./my-server.js\n\n# Continuous monitoring\nmcp-toolkit health ./my-server.js --watch --interval 10\n```\n\n```\n── Health Report ──\n  Status:    ● HEALTHY\n  Latency:   142ms\n  Server:    my-server v1.0.0\n  Tools:     3\n  Resources: 1\n  Prompts:   2\n  Checked:   2026-04-23T15:30:00.000Z\n```\n\n## 🤔 Why MCP Toolkit?\n\n| Feature | MCP Toolkit | Manual Testing | Other Tools |\n|---------|-------------|----------------|-------------|\n| Protocol compliance testing | ✅ Built-in | ❌ Write your own | ❌ None |\n| Interactive inspector | ✅ REPL UI | ❌ Console.log | ⚠️ Web only |\n| Server scaffolding | ✅ 4 templates | ❌ Copy-paste | ⚠️ Limited |\n| Server registry | ✅ Curated | ❌ Search GitHub | ⚠️ Lists only |\n| Health monitoring | ✅ Watch mode | ❌ Manual | ❌ None |\n| CI/CD ready | ✅ JSON output | ❌ No | ⚠️ Partial |\n\n## 🔌 Works With Everything\n\n```bash\n# Node.js servers\nmcp-toolkit test ./dist/index.js\n\n# Python servers\nmcp-toolkit test python server.py\n\n# npm packages\nmcp-toolkit test npx @modelcontextprotocol/server-github\n\n# Remote servers (SSE)\nmcp-toolkit test http://localhost:3000\n\n# Custom commands\nmcp-toolkit test \"docker run -i my-mcp-server\"\n```\n\n## 🏗️ For CI/CD\n\nUse `--json` flag for machine-readable output:\n\n```bash\n# In your CI pipeline\nmcp-toolkit test ./server.js --json \u003e test-results.json\n\n# Fail build on any test failure\nmcp-toolkit test ./server.js \u0026\u0026 echo \"PASS\" || echo \"FAIL\"\n```\n\n```yaml\n# GitHub Actions example\n- name: Test MCP Server\n  run: |\n    npm install -g factspark-mcp-toolkit\n    mcp-toolkit test ./dist/index.js\n```\n\n## 📖 Programmatic API\n\n```typescript\nimport { connect, getServerInfo } from 'mcp-toolkit';\n\nconst conn = await connect('./my-server.js');\nconst info = await getServerInfo(conn.client);\n\nconsole.log(`Tools: ${info.tools.length}`);\nconsole.log(`Resources: ${info.resources.length}`);\n\n// Call a tool\nconst result = await conn.client.callTool({\n  name: 'greet',\n  arguments: { name: 'World' },\n});\n\nawait conn.close();\n```\n\n## 🤝 Contributing\n\nWe love contributions! Here's how:\n\n1. **Add a server to the registry** — Edit `src/commands/discover.ts`\n2. **Add a scaffold template** — Edit `src/commands/scaffold.ts`\n3. **Improve test coverage** — Add tests in `tests/`\n4. **Report bugs** — [Open an issue](https://github.com/factspark23-hash/mcp-toolkit/issues)\n\n```bash\n# Development setup\ngit clone https://github.com/factspark23-hash/mcp-toolkit.git\ncd mcp-toolkit\nnpm install\nnpm run dev\n```\n\nSee [CONTRIBUTING.md](CONTRIBUTING.md) for details.\n\n## 📋 Roadmap\n\n- [ ] Web UI for interactive inspection\n- [ ] VS Code extension\n- [ ] Server performance benchmarks\n- [ ] Auto-generate client code from server\n- [ ] Docker image for CI/CD\n- [ ] More server templates (Rust, Go, Java)\n- [ ] Server compatibility matrix\n\n## ⭐ Star History\n\nIf MCP Toolkit helps you build better MCP servers, give it a star! ⭐\n\n## 📄 License\n\nMIT — use it however you want.\n\n---\n\n\u003cdiv align=\"center\"\u003e\n\n**Built for the MCP ecosystem**\n\n[Model Context Protocol](https://modelcontextprotocol.io) · [MCP Servers](https://github.com/modelcontextprotocol/servers) · [MCP Spec](https://spec.modelcontextprotocol.io)\n\n\u003c/div\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffactspark23-hash%2Fmcp-toolkit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffactspark23-hash%2Fmcp-toolkit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffactspark23-hash%2Fmcp-toolkit/lists"}