Skip to content

Athena

For technical teams · Agents and MCP

One MCP server. Every assistant.

Muvia exposes a remote MCP server: Claude, Claude Code, ChatGPT and Visual Studio Code, which are verified, connect to the same address, and so do other assistants such as Codex, Gemini, Copilot and Cursor if the administrator admits them. Access goes through OAuth 2.1 with the Muvia login, the assistant works with the user's permissions and every call stays in the log.

  • OAuth 2.1 + PKCE
  • RFC 7591
  • RFC 8707
  • RFC 9207

Client configuration

{
  "mcpServers": {
    "muvia": {
      "url": "https://api.muviabi.com/mcp/v1/"
    }
  }
}
  1. POST /mcp/v1 401 · resource_metadata
  2. POST /register · client registered
  3. Muvia login + consent · code
  4. POST /token · mvo_at_… (1 h)
  5. tools/call whoami · your company, your user
Illustrative example

How an assistant connects.

The protocol is the same for every client. Only the place the connection starts from changes: the user never pastes a password into the assistant.

  1. 01 · discovery

    The assistant knocks

    The server answers 401 and says where to authenticate. The client registers itself through dynamic client registration.

  2. 02 · login

    The user signs in to Muvia

    With the usual login: password, TOTP code or passkey, as the company's policy requires. A user who works for several companies picks one.

  3. 03 · consent

    They decide what to grant

    The page shows the client's name, whether it is verified and where it redirects. Every permission beyond reading can be unticked.

  4. 04 · work

    The assistant uses the tools

    With a one-hour token, renewed by rotation. If a refresh token is reused, the connection revokes itself.

PKCE S256 required
Without it, the request is refused.
Opaque tokens, stored as hashes
In clear text they exist only in the response that creates them.
Bound to the Muvia server
They are valid for this resource only, nowhere else.
Exact-match redirects
HTTPS, with loopback for desktop clients.

Six permissions, chosen by the user.

Each tool declares the Muvia permission it needs. The permission granted to the assistant only sets the ceiling.

ScopeWhat the user sees at consentNotes
muvia.readRead projects, signals, alarms, flows, analyses and documentsThe default
muvia.sqlRun read-only SQL queries on project dataOnly applies if the user's role allows running queries
muvia.writeRun flows and write their functions, create analyses and dashboards, attach notes and documentsEvery write is a proposal a person approves in Muvia, unless the administrator turned on autonomy
muvia.nodesDeclare and withdraw tags, edit a node's configurationNever ticked to start with; actions on the node always wait for a person
muvia.sourcesConnect databases and accounts, create, update and run sources and their loadsNever ticked to start with; deletions always wait for a person
muvia.alarmsEdit channels and subscriptions, take alarms in chargeNever ticked to start with

Never delegated, by any scope: company administration and the superadmin's powers. Actions on a machine always wait for a person to confirm them in Muvia.

The assistant can never do more than the user.

A connection is a delegation: one user, one company, one assistant. What the assistant can do is recomputed on every call.

  • The user's current rolesintersected with
  • Granted scopesintersected with
  • The company's modulesintersected with
  • Admin opt-in
  • equalsWhat the assistant can do
The company is not an argument
It comes from the connection, never from the request. Another company's project answers as if it did not exist.
When roles change, so does the assistant
Remove a role from the user and the assistant loses it on the next call. Once the user leaves the company, they must sign in again.
No shortcuts for superadmins
Only someone with a role in the company can connect. An impersonation session cannot approve a connection.

The administrator decides.

Off until the administrator turns it on
The AI connectors module and the administrator's switch are both required. If either is missing, the server refuses.
Which assistants are admitted
Three settings: verified clients only (the default), all registered clients, or a specific list. Codex, Gemini and Cursor connect under the last two.
Proposals and their autonomy
Every write is a proposal in «To approve». Under Settings → AI connectors → Autonomy the administrator chooses, kind of change by kind, «Ask for confirmation» or «Run at once». A proposal nobody decides on expires after seven days.
Immediate revocation
No cache: a revoked connection stops working on the next call.

Everything is on record.

Logtoday
  • 08:14oauth_grant_created · Copilot
  • 08:15tool_call · query_sql · Copilot
  • 11:02oauth_grant_revoked · reason=admin

Registered clients, connections created, updated and revoked with the reason, and every tool call with the client and the connection that made it.

Where you connect from.

  • Claude and Claude Code

    A remote connector for Claude, the claude mcp add command for Claude Code, with OAuth login.

  • ChatGPT

    Remote connector, with OAuth login.

  • Visual Studio Code

    «MCP: Add Server» with the HTTP type, with OAuth login.

  • Microsoft Copilot

    Connector for Copilot Studio.

  • Cursor, Codex, Gemini and other MCP clients

    OAuth login with a local redirect on the user's computer, if the administrator admits all clients or lists them.

  • Integrations and scripts

    With no user in front of it: a mvk_ API key on the same server, with its own permissions and its own company. It can write only if an administrator ticks «Può scrivere tramite assistenti» on the key, and under the same autonomy. The module and the administrator's switch apply here too.

How to connect them, step by step →

Connect your assistant.

The step-by-step guide for Claude, Claude Code, ChatGPT and VS Code is on this site; API references are on the developer portal.