{"id":48542104,"url":"https://github.com/luis-codex/api-mcp","last_synced_at":"2026-04-08T05:02:22.772Z","repository":{"id":320909912,"uuid":"1083648023","full_name":"luis-codex/api-mcp","owner":"luis-codex","description":null,"archived":false,"fork":false,"pushed_at":"2025-10-26T16:58:00.000Z","size":141,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-26T18:29:31.301Z","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/luis-codex.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-10-26T13:04:34.000Z","updated_at":"2025-10-26T16:57:01.000Z","dependencies_parsed_at":"2025-10-26T18:29:38.924Z","dependency_job_id":null,"html_url":"https://github.com/luis-codex/api-mcp","commit_stats":null,"previous_names":["luis-codex/api-mcp"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/luis-codex/api-mcp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luis-codex%2Fapi-mcp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luis-codex%2Fapi-mcp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luis-codex%2Fapi-mcp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luis-codex%2Fapi-mcp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/luis-codex","download_url":"https://codeload.github.com/luis-codex/api-mcp/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luis-codex%2Fapi-mcp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31540826,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T16:28:08.000Z","status":"online","status_checked_at":"2026-04-08T02:00:06.127Z","response_time":54,"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":[],"created_at":"2026-04-08T05:02:19.693Z","updated_at":"2026-04-08T05:02:22.756Z","avatar_url":"https://github.com/luis-codex.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OpenAPI Template\n\n[![Deploy to Cloudflare](https://deploy.workers.cloudflare.com/button)](https://deploy.workers.cloudflare.com/?url=https://github.com/cloudflare/templates/tree/main/chanfana-openapi-template)\n\n![OpenAPI Template Preview](https://imagedelivery.net/wSMYJvS3Xw-n339CbDyDIA/91076b39-1f5b-46f6-7f14-536a6f183000/public)\n\n\u003c!-- dash-content-start --\u003e\n\nThis is a Cloudflare Worker with OpenAPI 3.1 Auto Generation and Validation using [chanfana](https://github.com/cloudflare/chanfana) and [Hono](https://github.com/honojs/hono).\n\nThis is an example project made to be used as a quick start into building OpenAPI compliant Workers that generates the\n`openapi.json` schema automatically from code and validates the incoming request to the defined parameters or request body.\n\nThis template includes various endpoints, a D1 database, and integration tests using [Vitest](https://vitest.dev/) as examples. In endpoints, you will find [chanfana D1 AutoEndpoints](https://chanfana.com/endpoints/auto/d1) and a [normal endpoint](https://chanfana.com/endpoints/defining-endpoints) to serve as examples for your projects.\n\nBesides being able to see the OpenAPI schema (openapi.json) in the browser, you can also extract the schema locally no hassle by running this command `npm run schema`.\n\n\u003c!-- dash-content-end --\u003e\n\n\u003e [!IMPORTANT]\n\u003e When using C3 to create this project, select \"no\" when it asks if you want to deploy. You need to follow this project's [setup steps](https://github.com/cloudflare/templates/tree/main/openapi-template#setup-steps) before deploying.\n\n## Getting Started\n\nOutside of this repo, you can start a new project with this template using [C3](https://developers.cloudflare.com/pages/get-started/c3/) (the `create-cloudflare` CLI):\n\n```bash\nnpm create cloudflare@latest -- --template=cloudflare/templates/openapi-template\n```\n\nA live public deployment of this template is available at [https://openapi-template.templates.workers.dev](https://openapi-template.templates.workers.dev)\n\n## Setup Steps\n\n1. Install the project dependencies with a package manager of your choice:\n   ```bash\n   npm install\n   ```\n2. Create a [D1 database](https://developers.cloudflare.com/d1/get-started/) with the name \"openapi-template-db\":\n   ```bash\n   npx wrangler d1 create openapi-template-db\n   ```\n   ...and update the `database_id` field in `wrangler.json` with the new database ID.\n3. Run the following db migration to initialize the database (notice the `migrations` directory in this project):\n   ```bash\n   npx wrangler d1 migrations apply DB --remote\n   ```\n4. Deploy the project!\n   ```bash\n   npx wrangler deploy\n   ```\n5. Monitor your worker\n   ```bash\n   npx wrangler tail\n   ```\n\n## Testing\n\nThis template includes integration tests using [Vitest](https://vitest.dev/). To run the tests locally:\n\n```bash\nnpm run test\n```\n\nTest files are located in the `tests/` directory, with examples demonstrating how to test your endpoints and database interactions.\n\n## Project structure\n\n1. Your main router is defined in `src/index.ts`.\n2. Each endpoint has its own file in `src/endpoints/`.\n3. Integration tests are located in the `tests/` directory.\n4. For more information read the [chanfana documentation](https://chanfana.com/), [Hono documentation](https://hono.dev/docs), and [Vitest documentation](https://vitest.dev/guide/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluis-codex%2Fapi-mcp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fluis-codex%2Fapi-mcp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluis-codex%2Fapi-mcp/lists"}