Skip to main content

What's new

Give an MCP server to one space or one app, and keep its key away from the agent

The Add an MCP server form in 1904 settings with Selected spaces & apps chosen, listing team spaces Platform Ops and Design Systems, apps Web Storefront and Billing API and a private space, above the choice of Direct headers, Proxied headers or OAuth 2.1.

Connecting a tool to your coding agents starts as a convenience and turns into a question about reach. The server that reads your incident tracker is useful to the team that's on call. It has no business in a task on a client's storefront, and the key it uses shouldn't be sitting where any agent with a shell can print it. Until now a skill or MCP server added in 1904 went to every agent on every app. That's still the default, and it's no longer the only choice.

Choose where a server or skill applies

In Settings, under Skills & MCP servers, each server and skill now has a choice between All apps and Selected spaces & apps. Pick the second and you tick the team spaces, the apps and your own private spaces it should reach. Nothing is copied, so there's one definition and one set of credentials however many places use it. A team space and a private space can also hold skills and servers of their own, managed from the space's dialog, and anything in a private space applies only to your private tasks. If a task ends up with two servers of the same name, the more specific one wins. Open Agent Instructions on a task and Active in this task lists what that task actually has.

Keep the credential out of the agent's hands

A server reached over the web has three ways to authenticate. Direct headers works as before: the key is stored encrypted and handed to the task, which means the agent could read it while it runs. Proxied headers keeps the key inside 1904. The task talks to 1904, and 1904 adds the key on the way to the server. OAuth 2.1 goes a step further and has no long-lived key at all: save the server, press Connect with OAuth, sign in with the provider, and the tokens stay encrypted in 1904 and are refreshed for you. For a shared space you can require each teammate to connect their own account, so an agent acts as the person who started the task. With the proxied and OAuth choices, taking a server away from a space or an app applies to the very next call, in the middle of a session.

Servers that arrive in a repository

Plenty of repositories now carry an .mcp.json that someone committed for their own editor. An agent shouldn't connect to whatever a repository tells it to. In an app's settings, under App AI, Import from .mcp.json lists the servers the repository defines, including ones in the Cursor and VS Code locations, and each waits for Approve. Any secret values written into the file are left out, and you add them in 1904 instead. If the definition later changes in the repository, the server needs approving again before agents use it.

← All posts

Start with an idea, or start with what you have.

Use AI supplied by 1904, or connect the subscription you already pay for.