{"id":30127626,"url":"https://github.com/moeki0/remote-mcp-authkit","last_synced_at":"2025-09-11T21:46:34.428Z","repository":{"id":286711210,"uuid":"962302806","full_name":"moeki0/remote-mcp-authkit","owner":"moeki0","description":null,"archived":false,"fork":false,"pushed_at":"2025-04-08T00:41:22.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-31T13:37:11.037Z","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/moeki0.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}},"created_at":"2025-04-08T00:39:19.000Z","updated_at":"2025-04-08T00:41:25.000Z","dependencies_parsed_at":"2025-04-08T01:37:58.506Z","dependency_job_id":null,"html_url":"https://github.com/moeki0/remote-mcp-authkit","commit_stats":null,"previous_names":["moekiorg/remote-mcp-authkit","kawakamidev/remote-mcp-authkit"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/moeki0/remote-mcp-authkit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moeki0%2Fremote-mcp-authkit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moeki0%2Fremote-mcp-authkit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moeki0%2Fremote-mcp-authkit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moeki0%2Fremote-mcp-authkit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/moeki0","download_url":"https://codeload.github.com/moeki0/remote-mcp-authkit/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moeki0%2Fremote-mcp-authkit/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269756394,"owners_count":24470566,"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-08-10T02:00:08.965Z","response_time":71,"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-08-10T17:08:41.783Z","updated_at":"2025-08-10T17:08:48.301Z","avatar_url":"https://github.com/moeki0.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Model Context Protocol (MCP) Server + WorkOS AuthKit\n\nThis is an example [Model Context Protocol (MCP)](https://modelcontextprotocol.io/introduction) server that allows remote clients to connect and authenticate using [WorkOS](https://workos.com) [AuthKit](https://authkit.com).\n\nAuthKit supports user management features including an organization-centric\nauthentication model allowing you to control tool access based on user and\norganization permissions.\n\n## Getting Started\n\nFirst to create a WorkOS account by signing into the [WorkOS Dashboard](https://dashboard.workos.com).\n\nNext, add the MCP server's callback URL as a Redirect URI under **_Redirects_**\n-\u003e **_Sign in callback_**. If you are testing locally, this will be\n`http://localhost:8788/callback`, or if deployed, the domain of your deployed\nworker with the same `/callback` path.\n\nNext, you must set the `WORKOS_CLIENT_ID` and `WORKOS_CLIENT_SECRET` environment\nvariables. These can be obtained from the WorkOS Dashboard under **_API Keys_**.\n\nYou can set these in the Cloudflare dashboard or using the `wrangler`\nCLI:\n\n```sh\n$ npx wrangler secret put WORKOS_CLIENT_ID \u003cyour_workos_client_id\u003e\n$ npx wrangler secret put WORKOS_CLIENT_SECRET \u003cyour_workos_client_secret\u003e\n```\n\n**Note:** The `WORKOS_CLIENT_ID` isn't technically a secret and so you may also choose\nto set it via your `wrangler.jsonc` configuration file. But `WORKOS_CLIENT_SECRET` is not\npublic and should be securely set elsewhere.\n\nAnd that's it! You can now test out your remote MCP server using the example\nplayground below.\n\n## Testing MCP Authentication\n\nVisit the [Cloudflare Workers AI playground](https://playground.ai.cloudflare.com) and enter the URL of your worker:\n\n```\n# Local\nhttp://localhost:8788/sse\n\n# Deployed\nhttps://\u003cyour-worker-domain\u003e/sse\n```\n\nAfter clicking **_Connect_**, you'll be redirected to your WorkOS AuthKit\ndomain, where you can sign-in, and be returned to the playground authenticated\nas a WorkOS AuthKit user.\n\nIn the demo code, the `generateImage` tool is gated behind the `image_generation` permission. You can [read more about Permissions in AuthKit here](https://workos.com/docs/user-management/roles-and-permissions). Try assigning a permission with the `image_generation` slug to your user to see how it enables additional tools in the playground.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoeki0%2Fremote-mcp-authkit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmoeki0%2Fremote-mcp-authkit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoeki0%2Fremote-mcp-authkit/lists"}