Discover MCPs & agents
Loading MCPs and agents…
Loading MCPs and agents…
Infrastructure as Code for MCP access management
Jump to setup instructionsNo tool list is on record. This does not mean the server has no tools. Tools were not run.
No setup evidence yet No matching config or report on record. This does not mean the server is incompatible.
Same catalog task: Deploy & manage infra.
Run Model Context Protocol (MCP) servers with AWS Lambda
Same catalog task: Deploy & manage infra.
MCP server for interacting with Azure DevOps
Same catalog task: Deploy & manage infra.
Azure MCP Server - Model Context Protocol implementation for Azure
Fetched from the repository for this visit.
Infrastructure as Code for managing access to MCP community resources using Pulumi.
src/config/roles.tssrc/config/users.tssettings in src/config/repoAccess.ts, and syncs team and user access for every listed repository. See Creating a new repository below.isEmailGroup: true accept emails from anyone (including external users) and notify all members. External posts are moderated for security.provisionUser: true (directly, or via a role nested under one through github.parent — e.g. SDK teams under sdk-maintainers, working groups under working-groups)src/config/roles.ts to the members' Discord IDs in users.ts, and manages the settings of the channels declared in src/config/channels.ts, including thread-only forum/media channels. See Discord channels below.securityroom.modelcontextprotocol.io from the roles declared in src/config/accessPolicies.ts. See Cloudflare Access (security-room) below.src/config/packageAccess.ts and drift against the live npm registry is detected by CI — but changes are applied manually by a maintainer. See npm & PyPI Package Publishing Access below for why and how.If you're a maintainer — explicitly or implicitly (SDK maintainers, working group members, etc.) — and want an @modelcontextprotocol.io account, open a PR adding the following fields to your entry in src/config/users.ts:
{
github: 'your-github-username',
// ...
firstName: 'Your',
lastName: 'Name',
googleEmailPrefix: 'yourname', // -> yourname@modelcontextprotocol.io
memberOf: [ROLE_IDS.MAINTAINERS /* , ... */],
},
Once merged, Pulumi provisions the account. An admin will share your initial password (retrievable via pulumi stack output --show-secrets newGWSUserPasswords).
Org members cannot create repositories directly. Instead, open a PR adding an entry to src/config/repoAccess.ts with a settings block plus the usual teams:
{
repository: 'ext-example',
settings: {
description: 'MCP Extension for Example. Maintained by the Example Working Group.',
// visibility: 'public' (default), homepage, topics, template are optional
},
teams: [
{ team: 'core-maintainers', permission: 'admin' },
{ team: 'moderators', permission: 'maintain' },
{ team: 'example-wg', permission: 'admin' },
],
},
The PR's pulumi preview comment shows the repository create, when previews are on. Once merged, the deploy creates the repository (with the baseline in REPOSITORY_DEFAULTS) and then grants the listed access, in one apply. Notes:
ext-* for extensions, experimental-ext-* while experimental).admin permission (validated), so a managed repository is never ownerless.settings are access-only: the repository pre-dates this config and Pulumi manages only its collaborators. Adding settings to such an entry does not adopt the repository. The deploy fails with a name-already-exists error. Adopt it with pulumi import first; that is out of scope for the PR flow above.repository key of a managed entry is also the Pulumi resource name. Renaming it in place archives the old repository and creates a new one. To rename, do three things in order: rename the repository on GitHub, rename the resources in state with pulumi state rename (repository-<old> to repository-<new>, and repo-<old> to repo-<new>), then change the key.archived is ignored on refresh); un-archiving is a manual org-owner action.The contributor ladder (SEP-2148) defines project roles and their privileges. This repo grants access by team (roles in src/config/roles.ts), not by ladder rank. The table shows how each ladder role corresponds to what is configured here.
| Ladder role | Ladder privilege | Configured here |
|---|---|---|
| Contributor | None | None. defaultRepositoryPermission is none (orgSettings.ts). |
| Member | Org membership with triage rights | members team and members (synced) Discord role. The team has push on modelcontextprotocol, so Members can open pull requests there (the repository accepts them from collaborators only, which GitHub defines as write or higher), and triage on docs, .github, inspector, quickstart-resources, and servers. Grants are per repository rather than through the all_repo_triage org role, which would also cover private repositories. Add someone by putting ROLE_IDS.MEMBERS in their memberOf once the ladder's sponsorship requirements are met. |
| Maintainer | Merge privileges for owned areas | An "owned area" is a team: SDK teams (under sdk-maintainers), docs-maintainers, inspector-maintainers, registry-wg, reference-servers-maintainers, and others, each with push/maintain/admin on its repos (repoAccess.ts). The general maintainers team has push on modelcontextprotocol. |
| Core Maintainer | Administrative rights to all MCP repositories | core-maintainers holds the all_repo_admin org role (orgRoles.ts). |
| Lead Maintainer | All Core Maintainer privileges | lead-maintainers holds the all_repo_admin org role. Veto and appointment authority are governance, not access. |
| Community Moderator | Moderation rights on Discord and GitHub Discussions | moderators team and Discord role. The team has maintain on most community-facing repos. |
| WG Lead / IG Facilitator | Facilitation and SEP triage; no merge authority by default | wg-ig-facilitators Discord role (calendar access). Some WGs have a *-wg-leads team with admin on the WG's extension repo; most WGs do not. |
Things to know when reading the config against the ladder:
steering-committee (via working-groups, interest-groups, and sdk-maintainers). Their members therefore get steering-committee's grants, which include triage on modelcontextprotocol, .github, inspector, and quickstart-resources, and push on the archived docs repository. steering-committee deliberately has no grant on servers, so the teams listed there each have their own triage grant. Write access on inspector, servers, and quickstart-resources comes from the team that owns each one: inspector-maintainers on inspector, reference-servers-maintainers on servers, and docs-maintainers on quickstart-resources. This is independent of ladder rank. Roles that must not inherit these grants (members, maintainers, access-maintainers, security-team) have no parent.security-managers, security-team, CODEOWNERS teams (*-auth, conformance-auth), collaborator teams (registry-collaborators, typescript-sdk-collaborators), auth-contributors (push on ext-auth only, no parent team), access-maintainers (push on access only, no parent team), csharp-sdk-admin, Discord-only administrators and community-managers, and Google email groups.repoAccess.ts (the users lists) are not tied to any ladder role.security-ig has admin on six repositories (docs, .github, inspector, modelcontextprotocol, quickstart-resources, servers). This was carried over unchanged from security-wg in #170, and reviewing it is tracked as a separate workstream.Channels listed in src/config/channels.ts are managed by the DiscordChannel resource in src/discord.ts, using the same discord:botToken/discord:guildId stack config as the role sync (the bot needs the Manage Channels permission in the guild, plus View Channel on any private channel you adopt; creating forum/media channels requires the guild's Community feature). Each entry is either an existing channel adopted by its ID or a new channel created on deploy:
// Adopt an existing channel by ID: the declared settings are enforced in place,
// anything not declared (here, the name) is left as it is on Discord
{ id: '1234567890123456789', type: 'text', rateLimitPerUser: 5 },
// Create a thread-only forum channel
{
name: 'sdk-help',
type: 'forum',
requireTag: true,
availableTags: [{ name: 'typescript' }, { name: 'python' }, { name: 'answered', moderated: true }],
defaultSortOrder: 'latest_activity',
},
forum and media channels are thread-only by type, but the API cannot convert a text channel into one: declaring type: 'forum' on the id of a text channel fails the deploy with an error saying so. To make an existing text channel thread-only in place, keeping its ID and history, adopt it by id and declare permissionOverwrites that deny SEND_MESSAGES to DISCORD_EVERYONE_ROLE and allow CREATE_PUBLIC_THREADS and SEND_MESSAGES_IN_THREADS; members can then only start threads and reply in them. Add an overwrite allowing SEND_MESSAGES for any role that should still post at the top level (#general does this for moderators and community managers).permissionOverwrites entry names a role from roles.ts (or DISCORD_EVERYONE_ROLE) and the permissions to allow and deny, limited to the allowlist in discordPermissions.ts. Pulumi owns only the listed permissions: other permissions on the same overwrite, and overwrites for other roles or members, stay as they are on Discord. Removing a permission or an entry clears just those bits on the next deploy. The bot needs Manage Roles to write overwrites, and Discord only lets it allow or deny permissions it holds itself. Administrators bypass overwrites.id or type likewise adopts/creates the new channel and leaves the old one alone.name is required when creating a channel and optional when adopting one by id; declare it only if you want it enforced. Validation (npm run check) rejects a missing name on a new channel, names outside 1-100 characters, topics over Discord's limit (1024 for text, 4096 for forum/media), malformed snowflakes, duplicate entries, more than 20 tags, requireTag with no tags to pick from, and forum/media settings on text channels (defaultForumLayout is forum-only). It prints a WARNING: without failing for names with uppercase letters or spaces (Discord normalizes those, so the declared name would never match) and for requireTag on an adopted channel that declares no availableTags (it relies on the tags already on Discord; the deploy fails if there are none).position is applied on creation only. Discord renumbers positions whenever channels move, so it is not checked or re-applied afterwards; reorder channels in Discord.make up runs pulumi up --refresh). Channel creates and updates carry X-Audit-Log-Reason: modelcontextprotocol/access deploy, so the guild's audit log shows where a change came from.securityroom.modelcontextprotocol.io is protected by Cloudflare Zero Trust Access with GitHub as the identity provider. The reusable Access policy Maintainers that grants sign-in is managed from this repo by src/cloudflare.ts, driven by src/config/accessPolicies.ts:
ACCESS_POLICIES lists the roles (from roles.ts) whose GitHub team may sign in. Pulumi renders one github-organization include rule per team on the policy. Nothing else about the Access application (domain, identity providers, session settings) is managed here.python-sdk does not satisfy a rule for its parent team sdk-maintainers. That is why the policy allows the security-team team (the SECURITY_TEAM role: the MCP Security Team of SDK security leads, which has no parent team and grants no repository permissions) alongside core-maintainers, lead-maintainers and security-managers.ROLE_IDS.SECURITY_TEAM to their memberOf in src/config/users.ts. To allow another team: add its role to the policy's roles in accessPolicies.ts (validation checks the role exists and has a GitHub team).mcp-access: Access policy role management, and scope it to only Account → Access: Apps and Policies → Edit on the MCP Domain Account. Do not reuse this token for anything else.CLOUDFLARE_ROLE_MANAGEMENT_TOKEN in the production environment (repository settings → Environments). The deploy workflow passes it to Pulumi as cloudflare:roleManagementToken. Deploy stops if it is missing, because Pulumi would delete the policies it manages.Pulumi.prod.yaml.import resource option only succeeds when the program's inputs match the live resource, so adoption is two deploys:
cloudflare:importExistingPolicies: "true" in Pulumi.prod.yaml, the first deploy imports the existing Maintainers policy (by its cloudflarePolicyId) as-is, ignoring its rule lists."false" in a follow-up PR; its preview shows exactly the include-rule changes that the next deploy applies. Leave the flag off from then on.Publishing access to the modelcontextprotocol npm organization and to the MCP PyPI projects is config-as-code with human-applied changes — deliberately outside the Pulumi resource graph:
403. Reads still work headless with a granular access token, so drift is detected automatically and remediated manually.What lives where:
src/config/packageAccess.ts — expected npm org membership (derived from members' npm field in users.ts), per-package maintainers and trusted publishers for the key packages, a default policy for the rest of the org's packages, and declared PyPI project rosters.scripts/check-package-drift.ts — read-only npm drift check: NPM_TOKEN=<token> npm run check-package-drift. Prints a drift report and a remediation plan of npm CLI commands; exits nonzero on drift, and skips gracefully when NPM_TOKEN is unset..github/workflows/package-drift.yml — runs the check weekly and on demand, using the optional NPM_READ_TOKEN secret (a read-only npm granular access token with organization read access; note write-capable npm tokens expire after at most 90 days, so keep this one read-only).src/config/packageAccess.ts / users.ts to the desired state and merge the PR.NPM_TOKEN=<token> npm run check-package-drift.npm login, trigger a 2FA prompt (e.g. run the first command), and choose "Don't ask again for 5 minutes" on the npmjs.com challenge. npm's own bulk guidance is to script the commands with a sleep 2 between calls — roughly 80 operations fit in one approval window.packageAccess.ts and on the member's pypi field.modelcontextprotocol is registered by an unrelated third party, so MCP's Python packages live under mcp* names. Any future consolidation under that name would require a PEP 541 name-transfer request or simply keeping the mcp* naming.Note: Production deployment is automatically handled by GitHub Actions. All merges to the main branch trigger an automatic deployment via the configured GitHub Actions workflow.
Pre-requisites:
gcloud auth application-default loginpassphrase.prod.txt from the maintainersGITHUB_TOKEN with a token that has the permissions of the deploy GitHub App. The organization rejects classic personal access tokens.
Also set the discord:*, githubBillingEmail and cloudflare:roleManagementToken config values as deploy.yml does. Without the Discord and Cloudflare values, make up deletes the resources they manage.make previewmake upCI authenticates to GitHub as the mcp-access-deploy GitHub App, owned by the organization and installed on all repositories. Each workflow run mints an installation token that expires after one hour and is revoked when the job ends. Deploy uses the full permissions below; Preview requests a token that can only read organization roles.
| Scope | Permission | Access |
|---|---|---|
| Repository | Administration | Read/write |
| Repository | Metadata | Read |
| Repository | Pages | Read |
| Organization | Administration | Read/write |
| Organization | Members | Read/write |
| Organization | Custom organization roles | Read |
The App deliberately has no Contents permission. GitHub hides merge-related repository settings from tokens without it, so repositories with a settings block may show repeated changes to those settings. Creating a repository from a template also needs Contents read, so it does not work with the current permissions.
The private key is equivalent to organization admin. Store it as an environment secret, never as a variable. To rotate: generate a new key in the App settings, run the command below, then delete the old key and the local file.
gh secret set DEPLOY_APP_PRIVATE_KEY --env production -R modelcontextprotocol/access < key.pem
Preview runs in the preview environment and reads DEPLOY_APP_CLIENT_ID and DEPLOY_APP_PRIVATE_KEY from there. That environment accepts pull request branches, so give it the credentials of a separate App that has only Metadata: read and Custom organization roles: read, not the deploy App's. The token Preview requests is limited to those two permissions, but the private key behind it is not.
Do not use a refresh (make refresh, pulumi preview --refresh) as a read-only check: the Discord member sync corrects role drift during read(), so any refresh can change live Discord roles.
The workflows run in two GitHub environments (repository settings → Environments):
| Environment | Used by | Deployment branches |
|---|---|---|
production | deploy.yml on main | main only |
preview | preview.yml on pull requests | No restriction. Pull request runs use refs/pull/<number>/merge, which a main-only rule rejects. |
A secret or variable stored in an environment is visible only to jobs that declare that environment. One stored at repository level is visible to both. Anyone who can push a branch to this repository can run a workflow in preview, so keep the deploy App's private key out of it.
The following secrets must be configured as secrets of the production environment, not at repository level, for automated deployments. Deploy stops before changing anything if one is missing. Preview reads the same names from the preview environment: it skips the Pulumi preview when none of them are there and fails when only some are. Add required reviewers to preview before adding any of these values to it. The App credentials are the exception: each environment holds those of its own App.
DEPLOY_APP_PRIVATE_KEY (secret, set in each environment): private key of the deploy GitHub App in production, and of the read-only preview App in preview
DEPLOY_APP_CLIENT_ID (a variable, not a secret, set in each environment): client ID of the App whose private key that environment holds
ORG_BILLING_EMAIL, DISCORD_BOT_TOKEN, DISCORD_GUILD_ID: passed to Pulumi config by the workflows
GCP_PROD_SERVICE_ACCOUNT_KEY: GCP service account key
gs://mcp-access-prod-pulumi-state)PULUMI_PROD_PASSPHRASE: Passphrase for encrypting Pulumi state
CLOUDFLARE_ROLE_MANAGEMENT_TOKEN (production environment): Cloudflare token dedicated to Access policy role management, scoped only to Account → Access: Apps and Policies → Edit on the MCP Domain Account (not a general-purpose API token)
securityroom.modelcontextprotocol.io (see Cloudflare Access (security-room))If setting up this infrastructure for the first time:
# Create project and enable APIs
gcloud projects create mcp-access-prod
gcloud config set project mcp-access-prod
gcloud services enable storage.googleapis.com
gcloud services enable admin.googleapis.com
gcloud services enable groupssettings.googleapis.com
# Create service account
gcloud iam service-accounts create pulumi-svc \
--display-name="MCP Access Management Service Account" \
--description="Service account for Pulumi state and Google Workspace management"
# Grant storage admin permissions (for Pulumi state)
gcloud projects add-iam-policy-binding mcp-access-prod \
--member="serviceAccount:pulumi-svc@mcp-access-prod.iam.gserviceaccount.com" \
--role="roles/storage.admin"
# Create key
gcloud iam service-accounts keys create sa-key.json \
--iam-account=pulumi-svc@mcp-access-prod.iam.gserviceaccount.com
# Create GCS bucket for Pulumi state
gsutil mb gs://mcp-access-prod-pulumi-state
Then:
pulumi-svc@mcp-access-prod.iam.gserviceaccount.com# Login to Pulumi backend (GCS)
pulumi login gs://mcp-access-prod-pulumi-state
# Create production stack
export PULUMI_CONFIG_PASSPHRASE_FILE=passphrase.prod.txt
pulumi stack init prod
# Configure application secrets in Pulumi
pulumi config set --secret googleworkspace:credentials "$(cat sa-key.json)"
Add the CI/CD secrets to the production environment (repository settings → Environments):
GCP_PROD_SERVICE_ACCOUNT_KEY: Content of sa-key.jsonPULUMI_PROD_PASSPHRASE: The passphrase you set aboveORG_BILLING_EMAIL, DISCORD_BOT_TOKEN, DISCORD_GUILD_ID and CLOUDFLARE_ROLE_MANAGEMENT_TOKEN: see Required GitHub SecretsDEPLOY_APP_CLIENT_ID and DEPLOY_APP_PRIVATE_KEY (in the production and preview environments, not at repository level): see Deploy GitHub AppLoading reviews...
GitHub checked 159h ago - refresh overdue. Recently viewed repositories target hourly refresh.
Find a documented setup for your client. No sign-in, installation, or tool execution.
If this MCP is also published on mcpchannel.ai, you can subscribe from Browse and use the gateway config there instead.