{"_id":"mcp-echo-server","name":"mcp-echo-server","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"mcp-echo-server","version":"1.0.0","description":"A minimal MCP server template that echoes messages","main":"dist/index.js","type":"module","bin":{"mcp-echo-server":"dist/index.js"},"scripts":{"build":"tsc && chmod 755 dist/index.js","start":"node dist/index.js","dev":"tsx src/index.ts","prepublishOnly":"npm run build"},"keywords":["modelcontextprotocol","mcp","server","echo","template"],"author":"","license":"MIT","dependencies":{"@modelcontextprotocol/sdk":"^1.12.0","zod":"^3.24.2"},"devDependencies":{"@types/node":"^22.13.14","tsx":"^4.17.0","typescript":"^5.8.2"},"engines":{"node":">=18"},"_id":"mcp-echo-server@1.0.0","gitHead":"aef480354870b3915dfd72ddd7cc99d8226d2086","_nodeVersion":"18.20.4","_npmVersion":"10.7.0","dist":{"integrity":"sha512-R8epCmI3n3ntLWR6r50xEzMdZ48FJu5IMUFF9Q3cEWcacRLUaGpQX/UfUoXwYQ+/ZfOhvJp72BuyUs+y4VzlKg==","shasum":"dfe5931685d211e9fbd2bedbd4369b865d388de6","tarball":"https://registry.npmjs.org/mcp-echo-server/-/mcp-echo-server-1.0.0.tgz","fileCount":4,"unpackedSize":5100,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIE8jf/lorPuxx2c8KGgHv7Q7BRY3omZZwUS8O1yoxMuGAiA+r4WONw0o+mp/vSTOlQG+8OoeeKMAGYrdbCd9hXOEzg=="}]},"_npmUser":{"name":"aholsinger","email":"adamdude828@gmail.com"},"directories":{},"maintainers":[{"name":"aholsinger","email":"adamdude828@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/mcp-echo-server_1.0.0_1749556822844_0.8459746143394618"},"_hasShrinkwrap":false}},"time":{"created":"2025-06-10T12:00:22.842Z","1.0.0":"2025-06-10T12:00:23.024Z","modified":"2025-06-10T12:00:23.328Z"},"maintainers":[{"name":"aholsinger","email":"adamdude828@gmail.com"}],"description":"A minimal MCP server template that echoes messages","keywords":["modelcontextprotocol","mcp","server","echo","template"],"license":"MIT","readme":"# MCP Echo Server\n\nA minimal Model Context Protocol (MCP) server template that provides a simple echo functionality. This template is designed to be a starting point for building your own MCP servers.\n\n## Features\n\n- Simple echo tool that returns messages\n- Minimal dependencies\n- TypeScript support\n- Ready for npm publishing\n\n## Installation\n\nYou can run this server directly using npx:\n\n```bash\nnpx mcp-echo-server\n```\n\nOr install it globally:\n\n```bash\nnpm install -g mcp-echo-server\n```\n\n## Usage\n\n### As an MCP Server\n\nConfigure your MCP client to use this server. For example, in Claude Desktop, add to your `claude_desktop_config.json`:\n\n```json\n{\n  \"mcpServers\": {\n    \"echo\": {\n      \"command\": \"npx\",\n      \"args\": [\"mcp-echo-server\"]\n    }\n  }\n}\n```\n\n### Available Tools\n\nThe server provides one tool:\n\n- **echo**: Echoes back any message you send to it\n  - Parameters:\n    - `message` (string): The message to echo back\n\n## Development\n\n### Setup\n\n```bash\n# Clone the repository\ngit clone <your-repo-url>\ncd mcp-echo-server\n\n# Install dependencies\nnpm install\n\n# Build the project\nnpm run build\n```\n\n### Running in Development\n\n```bash\nnpm run dev\n```\n\n## Using as a Template\n\nThis server is designed to be a minimal starting point. To create your own MCP server:\n\n1. Fork or clone this repository\n2. Update the `package.json` with your project details\n3. Modify `src/index.ts` to add your own tools\n4. Build and publish to npm\n\n### Adding New Tools\n\nTo add a new tool, modify `src/index.ts`:\n\n```typescript\nserver.tool(\n  \"your-tool-name\",\n  \"Description of what your tool does\",\n  {\n    // Define your parameters using Zod schema\n    param1: z.string().describe(\"Description of param1\"),\n    param2: z.number().optional().describe(\"Optional param2\")\n  },\n  async ({ param1, param2 }) => {\n    // Your tool logic here\n    return {\n      content: [{\n        type: \"text\",\n        text: `Your result here`\n      }]\n    };\n  }\n);\n```\n\n## Publishing\n\nTo publish your own version:\n\n1. Update the `name` field in `package.json`\n2. Set your npm registry (if using a scoped package)\n3. Run `npm publish`\n\n## License\n\nMIT","readmeFilename":"README.md","_rev":"1-b865f7a3abd3e6c02654b0db7de3d55d"}