/speakeasy:add-mcp-from-remote-urlfrom Speakeasy Platform
Add a user-supplied remote MCP server URL to an explicit AICP project through the Speakeasy AI Control Plane Platform MCP.
Ships in Speakeasy Platform. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
If this connection lists call_platform_tool instead of the tools this workflow names, find each named tool with search_platform_tools, describe it with describe_platform_tool, then run it with call_platform_tool and the same arguments. Whether a tool exists for you is decided by describe_platform_tool with its exact name, not by tools/list or one page of search results: a name returned in not_found is unavailable to you, so say so rather than guess. The call itself still checks your access. When execute is also listed, a multi-step read may run in execute with tools.search, tools.describe and tools.call on platform--<tool name> paths. End each execute run at a confirmation point and ask the user before any write.
Use this workflow only through the authenticated Speakeasy AI Control Plane (AICP) Platform MCP when the user supplies a remote MCP server URL that is not in the reviewed MCP Catalogue. It follows the same guarded outcome a user completes in the AICP dashboard: inspect the URL, confirm the bounded evidence and project, register privately, finish secure setup, and verify readiness. For a reviewed catalogue entry, use add-mcp-from-catalog instead. The package itself grants no organization access.
inspect_mcp_candidate as the only read-only inspection step for a user-supplied URL. It returns bounded evidence and does not register or distribute anything.distribute_mcp_to_plugin counts as the review: the server is recorded in Shadow MCP as approved for exactly the people that plugin reaches, and the result's shadow_mcp says so with the page where that standing is seen, narrowed, or revoked. Tell the administrator that before they confirm the distribution, and again from the result. Registration itself never consults the policy; nobody else receives the server until it is in a plugin.send_platform_mcp_feedback only after asking for consent, and never include identifiers, URLs, credentials, payloads, headers, logs, or attachments.list_projects to verify that the Platform MCP is authenticated and obtain eligible projects. If discovery is unavailable, stop and follow the platform-sign-in workflow to sign this client in.search_mcp_catalog by name before handling the URL. Prefer an exact reviewed candidate when available.inspect_mcp_candidate with remote_url set to the user's exact URL. Do not supply catalogue selectors at the same time.create_project is in your tool list, and no listed project fits or none exists yet, may you offer a new project. A managed project assistant has no create_project tool and always registers in its own project, so never offer it there. For a new project, agree its exact name and choose one idempotency key for this create; pass that same key on the preview and on the confirmed call. Call create_project with that name, that key, and confirmed: false to preview it: nothing is created, and the confirmation_required result returns the exact slug the project would get. Do not work the slug out yourself. Show that slug to the user as the project's permanent address in dashboard links; it does not change on rename. After the user confirms the name and slug, call create_project again with the same name, the same key, and confirmed: true, and use the project it returns. Use a fresh key only for a new attempt after a refusal. A conflict refusal means a project already holds that slug and nothing was created: offer that existing project or a different name. Creating a project needs organization administrator access; if it is refused, say so rather than choosing another project. Confirming the new project's name is not consent to register: once it exists, ask the user to confirm this exact URL in that exact new project before continuing.register_remote_mcp with the exact project, URL, optional safe display name, and a fresh idempotency key. This re-inspects the URL and creates private project configuration only. When the result has already_registered: true, the MCP was already in that project and nothing new was added: tell the user it was already there, that its existing name and configuration are unchanged and any display name just confirmed was not applied, and continue with its setup and readiness.get_mcp_readiness without force to report the persisted, actor-scoped evidence. Never force a provider probe from an assistant. A freshly registered MCP normally has no persisted evidence yet and reports readiness_unavailable; that is not a reason to stop. When the persisted evidence is identity_chaining_configured or identity_chaining_active, do not attach a provider: the organization's identity provider supplies access on the user's first call through the server, so report that outcome and stop here. Otherwise, provider attachment does not depend on readiness evidence, but it does depend on the inspection's OAuth discovery evidence: attachment obtains a client from the provider automatically, through dynamic client registration or, when the provider supports it instead, a client ID metadata document. Only when inspection reported authentication: authentication_required with oauth_discovery: available_dcr or oauth_discovery: available_cimd (its automatic_client_registration is dynamic_client_registration or client_id_metadata_document), ask for explicit confirmation, call attach_platform_mcp_identity_provider with confirmed: true, present its exact authorization URL, and wait for the user to use Connect or Authorize there. Describe either path as automatic sign-in setup, not manual setup: the only remaining step is the user's own sign-in. When inspection reported authentication_required with oauth_discovery: available (automatic_client_registration: none), the provider advertises OAuth but neither dynamic registration nor client ID metadata documents, so do not attempt attachment; hand off to the dashboard setup URL, where the user configures a client registered with that provider or a Service account credential (OAuth client credentials). When inspection reported authentication_required with incomplete or absent OAuth discovery, the upstream expects a static credential such as an API key or Basic credential; do not attempt attachment, and tell the user to configure it as a Static credential (stored headers) through the dashboard setup URL, never in chat. When inspection reported anonymous, the endpoint needs no upstream authorization server — skip attachment and continue.next_action is secure_dashboard_setup_required, present the exact dashboard_setup_url. The user completes authentication or secret entry outside chat; never request the resulting value. If next_action is connect_sign_in, the server signs users in with OAuth and its client is set up automatically (automatic_client_registration names how): tell the user the server needs their sign-in and that it can be connected now. When the result has a sign_in_url, present that exact URL as a clickable link and tell the user to open it to sign in: it sets up sign-in for an organization admin and takes them to the provider, and it is the same link as the card's Connect button. If the page reports an error, or the person opening it is not an organization admin, present the dashboard_setup_url instead. Do not also attach a provider; after they sign in, continue with step 8's readiness check. Without a sign_in_url, do not attach a provider yet: complete step 8's readiness check first. Attach only when that check's repair action requires provider attachment; for identity_chaining_configured or identity_chaining_active evidence, follow step 8's chaining path instead. To attach, ask for explicit confirmation, call attach_platform_mcp_identity_provider with confirmed: true, present its exact authorization URL, and wait for the user to use Connect or Authorize there. Offer the dashboard_setup_url only if they prefer the dashboard or attachment is refused.get_mcp_readiness with the selected project and returned registration ID. A newly registered MCP is checked once on this first read. Only when it comes back unchecked (readiness_unavailable, freshness unavailable) because that check was refused or failed, call get_mcp_readiness once with force: true; it shares the forced-check limit, so if that returns rate_limited, wait at least a minute before forcing again. An unchecked result is not a reason to stop. For a non-ready result, follow only its server-provided repair action. When it requires provider attachment, ask for explicit confirmation before attach_platform_mcp_identity_provider, then present its exact authorization URL. For evidence identity_chaining_configured, the organization's identity provider supplies access on the user's first call through the server instead: call find_mcp for the selected project and take the entry whose registration.id equals the returned registration ID, then call get_my_mcp_connection_status with that entry's project_id and id as mcp_id, give the user its connection_url, ask them to make one call through it, and continue with step 9, where readiness reports ready with evidence identity_chaining_active once that call has obtained access. Use provider attachment only if the user asks to connect manually or their call fails. If the chained call fails and get_xaa_readiness is in your tool list, call it with the same project and MCP IDs and report its identity_chaining binding state and remediation, and its federated_callback_url when sign-in through the identity provider is what failed.get_mcp_readiness with force: true. Do not rely on stale or inferred readiness. If it returns rate_limited, do not retry the forced probe: call get_mcp_readiness without force, report the last stored readiness, and wait at least a minute before forcing again.list_my_servers or search_my_tools, then describe_tools and execute_tool. To install it in another app, first call get_mcp_client_admission for the same project and registration ID and keep the result for step 11; when its mode is presets (known clients only), warn the user that sign-in is refused unless that app is one of the server's known clients, which the result does not list, so never claim the app is admitted. Then call get_my_install_instructions with the selected project, the registration ID setup returned as registration_id, and the app as client_family; show each step's link as a clickable link and each snippet verbatim. A managed project assistant has neither path: tell the user the server is ready for them in their own MCP client. Only when the user wants other people to have this MCP, share it through a plugin; do not make this a required step, and skip to step 11 when they only want it for themselves. Call list_plugins for the selected project and follow next_cursor until it is absent, so every plugin is in hand; then present the plugins with the audience each one reaches as the result reports it (everyone, or the roles and people assigned), and ask the user which one should carry this MCP. Do not choose for them and do not assume the default plugin. Only when create_plugin is in your tool list may you offer a new plugin if no listed plugin fits. A managed project assistant has no create_plugin tool, so never offer or call it there: if no listed plugin fits, ask the user to create the plugin in the AICP dashboard or from an external MCP client, then call list_plugins again and continue with the plugin they created. If the user wants a new plugin and create_plugin is available, agree its name (and a slug only if they want to choose one), choose one idempotency key for this create, and call create_plugin for the selected project with that key and confirmed: false. Nothing is created and no receipt is stored; the confirmation_required refusal carries the exact slug the plugin would get. Show the user that slug as the plugin's permanent install name, which does not change on rename; never work a slug out yourself. Say that in the organization's default project a new plugin reaches every member, while elsewhere it reaches no one until people are assigned to it. After they confirm the name and slug, call create_plugin again with the same name, slug and description, the same idempotency key, and confirmed: true, and use the plugin it returns. If it refuses with slug_taken, another plugin already holds that slug: call list_plugins again, then ask whether to use that existing plugin or create one with a different slug, and preview and confirm the new slug as a new create, with a fresh idempotency key used for both its calls. If it refuses with idempotency_key_reused, the key was already spent on a different request: repeat the original request exactly with its original key, and use a new key only for a request the user has newly confirmed. If it refuses with feature_unavailable, creating a plugin is not available on this server: report that, stop creating, and do not retry or substitute another plugin; ask the user to create it in the AICP dashboard or from an external MCP client, then call list_plugins again. Never treat any of these refusals as having created a plugin. Before distributing, state the chosen plugin's complete audience back to the user and get explicit confirmation of that reach. When client admission is presets, say in the same breath that recipients whose MCP client is not one of the server's known clients are refused at sign-in, so do not imply every recipient can use it. When the project has a Shadow MCP policy that blocks unreviewed servers, say in the same breath that an organization administrator's distribution counts as the review and records the server in Shadow MCP as approved for exactly that audience, and that the approval is later narrowed or revoked with decide_shadow_mcp_access or from the server's Shadow MCP page, not by removing the server from the plugin. After the user confirms, call distribute_mcp_to_plugin with that exact plugin. Pass the server as mcp_id: call find_mcp for the selected project with limit: 100 and no query, following every next_cursor with cursor and the same project until the matching entry is found or the pages are exhausted, and use the id of the entry whose registration.id equals the registration ID setup returned. Never pass the ID of a different server, even one added earlier in the same chat. A name matching nothing is refused as not_found and a name matching more than one as ambiguous_target; report the refusal and ask again rather than retrying with a different plugin. An mcp_not_found refusal means that ID is not a server added through setup in that project, so call find_mcp again rather than guessing. A not_ready refusal names the server in mcp_server; report it and return to its readiness check. An approval_required refusal means the policy blocks this server for those people and the call could not be recorded as its approval (the caller is not an organization administrator): report that plainly, offer request_mcp_review for the same project and URL, present the review_url it returns, and do not distribute elsewhere. On success, report the shadow_mcp standing and page from the result, and message, which says whether the package reached people yet. When awaiting_manual_sync is true, the plugin's auto sync is off: the server is in the plugin, but people get it only after the project is synced by hand, so never say they already have it. Only in that waiting case, offer republish_plugin for that project, explaining that it republishes every plugin in it. After explicit confirmation, call republish_plugin with project_id set to the selected project ID and plugin set to the exact plugin selected in this step, confirmed: true, and a caller-generated idempotency_key, reused only to retry the same request.get_mcp_client_admission for the same project and registration ID. Report the mode it returns together with the custom client ID metadata URLs it lists, which together decide which MCP clients may authorize against this server. Change it only when the user asks: explain what the proposed mode admits and refuses, ask for explicit confirmation, then call set_mcp_client_admission with that exact mode and confirmed: true. Known clients (presets) refuses an unlisted client at authorization with no fallback.OAuth consent, secret entry, and provider authorization are the expected out-of-agent stops. URL and project selection, registration confirmation, and provider-attachment confirmation stay in the conversation.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub speakeasy-api/marketplace --plugin speakeasy17 skills in this plugin
/add-existing-mcp-serversUse when migrating MCP servers already configured in a local agent client (Claude Code, Codex, Cursor, Gemini CLI, VS Code or another client) to an explicit Speakeasy AI Control Plane project as remote MCPs, including discovering which servers are missing and optionally restricting them to the organization's Tailscale private network./add-mcp-from-catalogAdd a reviewed MCP Catalogue server to an explicit AICP project through the Speakeasy AI Control Plane Platform MCP./author-signals-and-sensorsCreate or update reusable signals and message sensors in an explicit Speakeasy AI Control Plane project, with confirmed atomic authoring and live verification.