{"id":26718554,"url":"https://github.com/ribeirogab/simple-mcp","last_synced_at":"2025-03-27T17:34:56.185Z","repository":{"id":284691703,"uuid":"955753912","full_name":"ribeirogab/simple-mcp","owner":"ribeirogab","description":"A simple TypeScript library for creating MCP servers.","archived":false,"fork":false,"pushed_at":"2025-03-27T07:18:24.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-27T07:28:59.604Z","etag":null,"topics":["ai","mcp","model-context-protocol"],"latest_commit_sha":null,"homepage":"","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/ribeirogab.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}},"created_at":"2025-03-27T06:25:51.000Z","updated_at":"2025-03-27T07:09:12.000Z","dependencies_parsed_at":"2025-03-27T07:39:27.529Z","dependency_job_id":null,"html_url":"https://github.com/ribeirogab/simple-mcp","commit_stats":null,"previous_names":["ribeirogab/mcpkit"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ribeirogab%2Fsimple-mcp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ribeirogab%2Fsimple-mcp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ribeirogab%2Fsimple-mcp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ribeirogab%2Fsimple-mcp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ribeirogab","download_url":"https://codeload.github.com/ribeirogab/simple-mcp/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245893113,"owners_count":20689607,"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":["ai","mcp","model-context-protocol"],"created_at":"2025-03-27T17:34:55.592Z","updated_at":"2025-03-27T17:34:56.179Z","avatar_url":"https://github.com/ribeirogab.png","language":"TypeScript","readme":"# Simple MCP\n\nA simple TypeScript library for creating [MCP](https://modelcontextprotocol.io/) (Model Context Protocol) servers.\n\n## Features\n\n- **Simple API**: Create MCP servers with minimal code\n- **Type Safety**: Full TypeScript integration\n- **Parameter Validation**: Built-in validation with Zod\n- **MCP Compatible**: Fully implements the Model Context Protocol\n\n## Installation\n\n```bash\nnpm install simple-mcp\n```\n\n## Quickstart\n\n```typescript\nimport { McpServer } from 'simple-mcp';\nimport { z } from 'zod';\n\n// Create a server instance\nconst server = new McpServer({ name: 'my-server' });\n\n// Add a tool\nserver.tool({\n  name: 'greet',\n  parameters: {\n    name: z.string().describe('Person\\'s name')\n  },\n  execute: async ({ name }) =\u003e {\n    return {\n      content: [\n        {\n          type: 'text',\n          text: `Hello, ${name}!`\n        }\n      ]\n    };\n  }\n});\n\n// Start the server\nserver.start({ transportType: 'stdio' });\n```\n\n## Examples\n\nCheck out the [examples directory](https://github.com/ribeirogab/simple-mcp/tree/main/examples) for more complete examples:\n\n- [Greeting Tool](https://github.com/ribeirogab/simple-mcp/tree/main/examples/greet.ts) - Simple greeting example\n- [Calculator Tool](https://github.com/ribeirogab/simple-mcp/tree/main/examples/calculator.ts) - Mathematical operations example\n\n## Contributing\n\nContributions are welcome! Feel free to open issues or submit pull requests.\n\n## License\n\n[MIT](LICENSE)\n","funding_links":[],"categories":["Development Tools MCP Servers","🤖 AI/ML","APIs and HTTP Requests","SDKs","Table of Contents"],"sub_categories":["JavaScript/TypeScript","Gaming"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fribeirogab%2Fsimple-mcp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fribeirogab%2Fsimple-mcp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fribeirogab%2Fsimple-mcp/lists"}