{"id":47405688,"url":"https://github.com/jcasare/mcp-craft","last_synced_at":"2026-04-03T21:00:58.166Z","repository":{"id":343074357,"uuid":"1176181510","full_name":"jcasare/mcp-craft","owner":"jcasare","description":"Scaffold, test, and register MCP servers across Claude, Cursor, VS Code, Codex, and Gemini","archived":false,"fork":false,"pushed_at":"2026-03-08T18:27:14.000Z","size":104,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-08T22:36:46.434Z","etag":null,"topics":["ai-tools","claude","cli","developer-tools","mcp","mcp-server","model-context-protocol","scaffold","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/jcasare.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"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-03-08T18:17:46.000Z","updated_at":"2026-03-08T18:27:17.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/jcasare/mcp-craft","commit_stats":null,"previous_names":["jcasare/mcp-craft"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/jcasare/mcp-craft","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcasare%2Fmcp-craft","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcasare%2Fmcp-craft/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcasare%2Fmcp-craft/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcasare%2Fmcp-craft/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jcasare","download_url":"https://codeload.github.com/jcasare/mcp-craft/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcasare%2Fmcp-craft/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31377109,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-03T17:53:18.093Z","status":"ssl_error","status_checked_at":"2026-04-03T17:53:17.617Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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-tools","claude","cli","developer-tools","mcp","mcp-server","model-context-protocol","scaffold","typescript"],"created_at":"2026-03-20T18:00:24.224Z","updated_at":"2026-04-03T21:00:58.135Z","avatar_url":"https://github.com/jcasare.png","language":"TypeScript","funding_links":[],"categories":["Frameworks"],"sub_categories":["Common Lisp"],"readme":"# mcp-craft\n\n[![npm version](https://img.shields.io/npm/v/mcp-craft)](https://www.npmjs.com/package/mcp-craft)\n[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)\n\nCLI toolkit for scaffolding, testing, and managing [MCP (Model Context Protocol)](https://modelcontextprotocol.io) servers.\n\nBuild MCP servers in seconds, not hours.\n\n![mcp-craft demo](demo.gif)\n\n## What is MCP?\n\nMCP is like a **USB port for AI apps**. It's an open protocol that lets AI applications (Claude, Cursor, VS Code Copilot, Gemini, Codex) connect to external tools and data sources through a standard interface.\n\nYou build a server once, and any MCP-compatible AI app can use it.\n\n| Primitive | What it is | Example |\n| ------------- | -------------------------------- | ------------------------------------------------- |\n| **Tools** | Functions the AI can call | `get_weather`, `search_database`, `send_email` |\n| **Resources** | Data the AI can read | Files, DB records, API responses |\n| **Prompts** | Reusable message templates | `code_review`, `summarize`, `translate` |\n\n## Installation\n\n```bash\nnpm install -g mcp-craft\n```\n\nOr use without installing:\n\n```bash\nnpx mcp-craft init my-server\n```\n\n## Quick Start\n\n```bash\n# 1. Scaffold a new MCP server\nmcp-craft init my-server\n\n# 2. Install dependencies and build\ncd my-server\nnpm install\nnpm run build\n\n# 3. Add more capabilities\nmcp-craft add tool search_docs\nmcp-craft add resource config\n\n# 4. Test your server\nmcp-craft test\n\n# 5. Register with your AI clients\nmcp-craft register\n```\n\n## Commands\n\n### `mcp-craft init [name]`\n\nInteractively scaffold a new MCP server project. Asks you for:\n\n- Project name and description\n- Transport type (stdio or HTTP)\n- Which primitives to include (tools, resources, prompts)\n\nGenerates a complete, ready-to-build TypeScript project with example code.\n\n### `mcp-craft add \u003ctype\u003e \u003cname\u003e`\n\nAdd a new tool, resource, or prompt to an existing MCP server project.\n\n```bash\nmcp-craft add tool get_weather     # Add a tool\nmcp-craft add resource user_data   # Add a resource\nmcp-craft add prompt code_review   # Add a prompt\n```\n\n### `mcp-craft test`\n\nValidate your MCP server:\n\n1. Builds the project (`npm run build`)\n2. Spawns the server as a subprocess\n3. Sends JSON-RPC `initialize` request\n4. Lists all tools, resources, and prompts\n5. Reports pass/fail with details\n\n### `mcp-craft inspect`\n\nLaunch the [MCP Inspector](https://github.com/modelcontextprotocol/inspector) — a visual browser-based tool for testing your server interactively.\n\n### `mcp-craft register`\n\nRegister your MCP server with installed AI clients. Detects which clients are installed and updates their config files (or runs their CLI commands).\n\n## Supported AI Clients\n\n| Client | Method | Config Location |\n| -------------- | ----------------------- | ------------------------------------------------------------------ |\n| Claude Desktop | Config file | `~/Library/Application Support/Claude/claude_desktop_config.json` |\n| Claude Code | CLI (`claude mcp add`) | `~/.claude/settings.json` |\n| Cursor | Config file | `~/.cursor/mcp.json` |\n| Windsurf | Config file | `~/.windsurf/mcp.json` |\n| VS Code | Config file | `.vscode/mcp.json` |\n| Codex (OpenAI) | CLI (`codex mcp add`) | `~/.codex/config.toml` |\n| Gemini CLI | CLI (`gemini mcp add`) | `~/.gemini/settings.json` |\n\n## Generated Project Structure\n\n```text\nmy-server/\n├── src/\n│   └── index.ts          # Server entry point with tools/resources/prompts\n├── build/                # Compiled output (gitignored)\n├── package.json          # Dependencies and scripts\n├── tsconfig.json         # TypeScript config\n└── README.md             # Auto-generated docs\n```\n\n## Contributing\n\nContributions are welcome! Please feel free to submit a pull request.\n\n1. Fork the repository\n2. Create your feature branch (`git checkout -b feature/my-feature`)\n3. Commit your changes (`git commit -m 'Add my feature'`)\n4. Push to the branch (`git push origin feature/my-feature`)\n5. Open a Pull Request\n\n## License\n\n[MIT](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjcasare%2Fmcp-craft","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjcasare%2Fmcp-craft","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjcasare%2Fmcp-craft/lists"}