{"id":29823125,"url":"https://github.com/clerk/mcp-express-example","last_synced_at":"2026-01-20T17:49:49.869Z","repository":{"id":306371076,"uuid":"964720359","full_name":"clerk/mcp-express-example","owner":"clerk","description":"An example of a working MCP server","archived":false,"fork":false,"pushed_at":"2025-07-25T04:47:49.000Z","size":78,"stargazers_count":0,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-07-25T09:40:23.129Z","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/clerk.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-04-11T17:12:15.000Z","updated_at":"2025-07-25T04:46:08.000Z","dependencies_parsed_at":"2025-07-25T09:40:28.064Z","dependency_job_id":"55416258-623e-44e1-9073-4de46eaa1187","html_url":"https://github.com/clerk/mcp-express-example","commit_stats":null,"previous_names":["clerk/mcp-express-example"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/clerk/mcp-express-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clerk%2Fmcp-express-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clerk%2Fmcp-express-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clerk%2Fmcp-express-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clerk%2Fmcp-express-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/clerk","download_url":"https://codeload.github.com/clerk/mcp-express-example/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clerk%2Fmcp-express-example/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267616898,"owners_count":24116174,"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","status":"online","status_checked_at":"2025-07-28T02:00:09.689Z","response_time":68,"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":"2025-07-29T01:40:47.820Z","updated_at":"2026-01-20T17:49:49.841Z","avatar_url":"https://github.com/clerk.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Express \u0026 Clerk MCP Server Demo\n\nThe simplest, most bare bones implementation of an MCP server, using express. At the moment, it only exposes a streamable http handler. It could be adapted to handle SSE as well if necessary though. The purpose of this example is to serve as a proof of concept!\n\n### Getting started\n\n- Run `npm i` to install dependencies\n- Run `cp .env.sample .env` and copy your Clerk API keys [from your dashboard](https://dashboard.clerk.com/last-active?path=api-keys) into the `.env` file\n- Run `npm start` to start the server\n- You should be able to connect to it now from any client that supports tha latest version of the MCP spec. A cursor configuration is provided as a test.\n\n### HTTPS Setup (Optional)\n\nBy default, the server runs on HTTP only. To enable HTTPS for development (useful for testing with some clients), you'll need to generate locally trusted certificates:\n\n1. **Install mkcert** (if not already installed):\n\n   ```bash\n   # macOS\n   brew install mkcert\n\n   # Windows (using Chocolatey)\n   choco install mkcert\n\n   # Linux\n   # See https://github.com/FiloSottile/mkcert#installation\n   ```\n\n2. **Setup local certificate authority**:\n\n   ```bash\n   mkcert -install\n   ```\n\n3. **Generate certificates**:\n\n   ```bash\n   mkcert localhost 127.0.0.1 ::1\n   mkdir -p cert\n   mv localhost+2*.pem cert/\n   ```\n\n4. **Restart the server** - it will automatically detect the certificates and start both HTTP (port 3000) and HTTPS (port 3001) servers.\n\nThe certificates are gitignored, so each developer needs to generate their own locally trusted certificates.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclerk%2Fmcp-express-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fclerk%2Fmcp-express-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclerk%2Fmcp-express-example/lists"}