Independent analysis by NHI Mgmt GroupSource article: Scalekit, “Linear MCP server: set up Claude Code, Cursor, Codex and your agent” (October 16, 2026)

TL;DR: Linear's hosted MCP server uses OAuth 2.1, API keys and read-only endpoints to let Claude Code, Cursor and Codex act as the signed-in user, while Scalekit shows that multi-user agent products must store, refresh and revoke one token set per end user. Shared agent access collapses into identity governance, not just tool wiring.


At a glance

What this is: NHI Mgmt Group's analysis, drawing on Scalekit's blog post: Linear's hosted MCP server relies on per-user OAuth, API keys and read-only endpoints, and multi-user agents must manage a separate authorization lifecycle for every end user.

Why it matters: IAM and NHI teams need to treat MCP access as delegated identity with revocation, scope control and per-user accountability, not as a simple connector setup.

By the numbers:

  • The Linear connector lists 63 tools today, split across 37 read, 14 write and 12 destructive actions.

Context

A hosted MCP server is not just an integration endpoint. When it can create issues, post comments and update records as the signed-in person, the security problem becomes delegated identity, scope control and revocation across every client that can reach it. MCP changes the operating model because tool access now carries user identity with it.

That model becomes harder once one agent must serve many users. Each end user needs separate authorization, separate token storage and separate refresh logic, which pushes the control point from the desktop client into the product backend. The governance question is no longer whether the server authenticates, but whether the product can prove which user every action came from.


Key questions

Q: How do you govern per-user OAuth for MCP integrations?

A: Govern per-user OAuth by binding each MCP session to a named user, a specific client registration, and narrowly scoped tokens that can be revoked independently. Use consent, token audience limits, refresh token controls, and audit logs so the integration cannot reuse one person’s grant for another. Separate service account access from per-user authorization where shared automation is required.

Q: When should MCP tools be read-only instead of write-capable?

A: Use read-only access whenever a tool only needs to inspect data, because write-capable scope expands the blast radius of a compromised agent or stolen token. Grant mutating actions only to tools that must create, update, or delete records, and segregate those tools behind separate credentials, explicit approval steps, and tighter logging.

Q: How does OAuth 2.1 support delegated MCP access?

A: OAuth 2.1 supports delegated MCP access by using modern authorisation-code flows with PKCE, short-lived access tokens, and tighter redirect handling. That lets a user grant an MCP client limited access on their behalf without sharing passwords, while scopes and consent keep the delegation bounded and revocable.

Q: What happens when one agent serves many Linear workspaces?

A: When one agent serves many Linear workspaces, each workspace needs separate authorisation records, scopes, and tokens so access does not leak across tenants. The agent should resolve the active workspace at runtime, apply tenant-specific policy, and keep audit trails and revocation paths distinct for each customer.


Technical breakdown

How OAuth 2.1 and dynamic client registration work in MCP

The server uses OAuth 2.1 with dynamic client registration so an MCP client can discover the authorization server, request the right scopes and complete sign-in without custom setup. The authorization code flow with PKCE protects the browser-based exchange, while refresh tokens extend the session after initial consent. Bearer-token support lets headless clients skip the browser, but the same trust model still applies: whoever holds the token can act through the server as that user. See the NHI Authentication Guide.

Practical implication: Treat token issuance, refresh and revocation as part of access governance, not as implementation detail.

Why read-only and write scopes matter for MCP tools

The server exposes separate read/write and read-only endpoints, and it can also narrow access through OAuth scopes or a read-only API key. That matters because MCP tools are not passive data fetches. Some tools create issues, change comments or perform other state-changing actions, so scope choice determines whether an agent can merely observe or can alter records. The transport may be the same, but the authority attached to it is not. See the MCP Security Guide.

Practical implication: Split read and write authority so agents that only analyse data cannot mutate production records.

Why per-user token handling becomes the control plane

When a product's agent works in many users' workspaces, the backend becomes the OAuth client of record. It must register, store encrypted tokens, refresh them before expiry, attach the correct token to each run and delete credentials when the user disconnects. That is a lifecycle problem, not a transport problem. A single shared credential would collapse user attribution and make offboarding incomplete.

Practical implication: Design the backend to manage per-user credential lifecycle end to end.


NHI Mgmt Group analysis

Per-user MCP access is identity governance, not connector plumbing. The moment an agent can create or change records on behalf of a user, the control problem shifts from tool reachability to delegated authority. That means lifecycle, revocation and scope assignment now sit inside the access model rather than beside it, and the design has to be judged as an identity system first.

Read-only defaults are the right containment pattern for agentic integrations. A server that separates read tools from write tools reduces the blast radius of prompt injection, mistaken tool calls and overbroad automation. The important point is not that a read-only mode exists, but that write authority should be explicit, narrow and separately approved.

Multi-user agents force the backend to become an identity broker. Once one product serves many workspaces, the application must own client registration, token refresh, token storage and revocation for each end user. That creates a durable governance obligation: if the backend cannot prove which user a token belongs to, the access model is already broken.

Agent access should be judged by revocability, not by convenience. The article's architecture shows why a working connection is not enough. Access that cannot be selectively revoked, rotated or isolated per user turns a useful integration into shared standing privilege, which is the wrong default for both NHI and agentic workflows.

From our research library:

What this signals

Delegated MCP access will increasingly be judged by lifecycle control. As more agents act through user-scoped servers, the practical question shifts to whether organizations can rotate, revoke and reissue access without losing attribution or breaking workflows. That makes per-user token governance a baseline requirement for agent deployments, not a nice-to-have integration detail.

The next control boundary is the backend that brokers the agent session. If that service cannot isolate one user's authorization from another's, then the organisation has built shared standing privilege under a modern interface.


For practitioners

  • Separate read and write authority by default Use read-only endpoints, read scopes or read-only keys for agents that only need visibility, and require an explicit approval path for any write-capable session.
  • Store one authorization per end user Make the backend the OAuth client of record, keep tokens encrypted, bind them to a stable internal user ID and revoke them independently when a user disconnects.
  • Keep API keys out of shared configs Pass bearer credentials through environment variables or secret stores so local files, shared project configs and copied snippets do not become the long-term secret holder.
  • Require workspace-specific authorization If users operate in multiple workspaces, make each workspace authorize separately and prevent one session from silently reusing another workspace's token set.

Key takeaways

  • Linear's hosted MCP model shows that agentic integrations inherit the user's authority, so access scope and revocation become identity controls rather than product settings.
  • Multi-user agent products need separate token lifecycle handling for each end user, or they lose attribution, offboarding precision and write control.
  • Read-only defaults and workspace-specific authorization are the clearest ways to reduce blast radius when an MCP server can both inspect and change records.

Related NHI Mgmt Group resources: What Is MCP? The Model Context Protocol Explained (2026) · MCP Security Guide · NHI Authentication Guide · MCP Gateway and MCP Server Governance Guide


Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

OWASP Non-Human Identity Top 10 addresses the attack and risk surface, while NIST SP 800-53 Rev 5 and NIST CSF 2.0 set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
OWASP Non-Human Identity Top 10NHI-04 — Insecure AuthenticationLinear MCP uses OAuth, bearer tokens and API keys, so authentication strength is central to this integration model.
NHI-07 — Long-Lived SecretsAPI keys and refresh tokens can persist too long in agent backends if lifecycle controls are weak.
NHI-01 — Improper OffboardingPer-user MCP access must be revoked cleanly when users disconnect or leave a workspace.
Recommendation — Enforce scoped, user-bound authentication for MCP access and avoid shared bearer credentials. Rotate and revoke MCP credentials on user disconnect and keep token lifetimes short. Remove each user's MCP authorization and refresh tokens immediately on offboarding.
NIST SP 800-53 Rev 5IA-5 — Authenticator ManagementMCP tokens and API keys are authenticators that need lifecycle management and revocation.
Recommendation — Manage MCP authenticators through issuance, rotation, storage and revocation controls.
NIST CSF 2.0PR.AA-05 — Access Permissions, Entitlements and AuthorizationsMCP scopes and read/write permissions are entitlement decisions that must be governed explicitly.
Recommendation — Assign the minimum MCP permissions needed for each client and user workflow.

Key terms

  • Model Context Protocol: Model Context Protocol is an open protocol that lets AI agents connect to tools and data sources. It expands what an agent can reach, so governance has to cover not only the model and its prompts, but also every system that can receive or return agent-driven data.
  • OAuth 2.1: OAuth 2.1 is an updated authorisation framework that consolidates safer OAuth 2.0 practices for delegated access to APIs and applications. It removes insecure legacy patterns and expects modern protections such as PKCE and exact redirect handling, so teams should implement strict client, token, and redirect controls.
  • Dynamic Client Registration: Dynamic client registration is a protocol pattern that allows a software client to register itself with an authorization system automatically. For AI agents, it can reduce manual setup, but it also creates new identities at speed, which makes ownership, policy checks, and revocation essential.
  • Bearer Token: A bearer token is a credential that grants access to whoever possesses it, without requiring strong proof that the holder is the intended client. In NHI environments, that makes theft and replay the main risk, especially when tokens are long-lived, broadly scoped, or stored in local files.

Deepen your knowledge

NHI governance, agentic AI identity, and machine identity lifecycle are core topics in our NHI Foundation Level course, the industry's only accredited NHI security programme. If you are building or maturing an IAM programme, it is worth exploring.
NHIMG Editorial Note
Published by the NHIMG editorial team on November 25, 2026.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org