{"id":26892637,"url":"https://github.com/quantgeekdev/mcp-add-sse","last_synced_at":"2025-07-10T08:34:32.233Z","repository":{"id":275221198,"uuid":"925456659","full_name":"QuantGeekDev/mcp-add-sse","owner":"QuantGeekDev","description":"MCP addition tool demonstrating SSE + auth capabilities","archived":false,"fork":false,"pushed_at":"2025-02-22T23:28:35.000Z","size":29,"stargazers_count":5,"open_issues_count":2,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-07T03:46:34.271Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/QuantGeekDev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2025-01-31T23:14:21.000Z","updated_at":"2025-06-17T05:50:19.000Z","dependencies_parsed_at":"2025-05-12T14:26:51.824Z","dependency_job_id":"e7841ab4-5c19-4311-a866-2e325d9fc745","html_url":"https://github.com/QuantGeekDev/mcp-add-sse","commit_stats":null,"previous_names":["quantgeekdev/mcp-add-sse"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/QuantGeekDev/mcp-add-sse","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QuantGeekDev%2Fmcp-add-sse","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QuantGeekDev%2Fmcp-add-sse/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QuantGeekDev%2Fmcp-add-sse/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QuantGeekDev%2Fmcp-add-sse/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/QuantGeekDev","download_url":"https://codeload.github.com/QuantGeekDev/mcp-add-sse/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QuantGeekDev%2Fmcp-add-sse/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264551651,"owners_count":23626536,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2025-03-31T22:53:01.802Z","updated_at":"2025-07-10T08:34:32.188Z","avatar_url":"https://github.com/QuantGeekDev.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# calculator\n[![smithery badge](https://smithery.ai/badge/@QuantGeekDev/mcp-add-sse)](https://smithery.ai/server/@QuantGeekDev/mcp-add-sse)\n\nA Model Context Protocol (MCP) server built with mcp-framework.\n\n## Quick Start\n\n```bash\n# Install dependencies\nnpm install\n\n# Build the project\nnpm run build\n\n```\n\n## Project Structure\n\n```\ncalculator/\n├── src/\n│   ├── tools/        # MCP Tools\n│   │   └── ExampleTool.ts\n│   └── index.ts      # Server entry point\n├── package.json\n└── tsconfig.json\n```\n\n## Adding Components\n\nThe project comes with an example tool in `src/tools/ExampleTool.ts`. You can add more tools using the CLI:\n\n```bash\n# Add a new tool\nmcp add tool my-tool\n\n# Example tools you might create:\nmcp add tool data-processor\nmcp add tool api-client\nmcp add tool file-handler\n```\n\n## Tool Development\n\nExample tool structure:\n\n```typescript\nimport { MCPTool } from \"mcp-framework\";\nimport { z } from \"zod\";\n\ninterface MyToolInput {\n  message: string;\n}\n\nclass MyTool extends MCPTool\u003cMyToolInput\u003e {\n  name = \"my_tool\";\n  description = \"Describes what your tool does\";\n\n  schema = {\n    message: {\n      type: z.string(),\n      description: \"Description of this input parameter\",\n    },\n  };\n\n  async execute(input: MyToolInput) {\n    // Your tool logic here\n    return `Processed: ${input.message}`;\n  }\n}\n\nexport default MyTool;\n```\n\n## Publishing to npm\n\n1. Update your package.json:\n   - Ensure `name` is unique and follows npm naming conventions\n   - Set appropriate `version`\n   - Add `description`, `author`, `license`, etc.\n   - Check `bin` points to the correct entry file\n\n2. Build and test locally:\n   ```bash\n   npm run build\n   npm link\n   calculator  # Test your CLI locally\n   ```\n\n3. Login to npm (create account if necessary):\n   ```bash\n   npm login\n   ```\n\n4. Publish your package:\n   ```bash\n   npm publish\n   ```\n\nAfter publishing, users can add it to their claude desktop client (read below) or run it with npx\n```\n\n## Using with Claude Desktop\n\n### Installing via Smithery\n\nTo install Calculator for Claude Desktop automatically via [Smithery](https://smithery.ai/server/@QuantGeekDev/mcp-add-sse):\n\n```bash\nnpx -y @smithery/cli install @QuantGeekDev/mcp-add-sse --client claude\n```\n\n### Local Development\n\nAdd this configuration to your Claude Desktop config file:\n\n**MacOS**: `~/Library/Application Support/Claude/claude_desktop_config.json`\n**Windows**: `%APPDATA%/Claude/claude_desktop_config.json`\n\n```json\n{\n  \"mcpServers\": {\n    \"calculator\": {\n      \"command\": \"node\",\n      \"args\":[\"/absolute/path/to/calculator/dist/index.js\"]\n    }\n  }\n}\n```\n\n### After Publishing\n\nAdd this configuration to your Claude Desktop config file:\n\n**MacOS**: `~/Library/Application Support/Claude/claude_desktop_config.json`\n**Windows**: `%APPDATA%/Claude/claude_desktop_config.json`\n\n```json\n{\n  \"mcpServers\": {\n    \"calculator\": {\n      \"command\": \"npx\",\n      \"args\": [\"calculator\"]\n    }\n  }\n}\n```\n\n## Building and Testing\n\n1. Make changes to your tools\n2. Run `npm run build` to compile\n3. The server will automatically load your tools on startup\n\n## Learn More\n\n- [MCP Framework Github](https://github.com/QuantGeekDev/mcp-framework)\n- [MCP Framework Docs](https://mcp-framework.com)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquantgeekdev%2Fmcp-add-sse","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fquantgeekdev%2Fmcp-add-sse","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquantgeekdev%2Fmcp-add-sse/lists"}