Skip to main content
Glama

@gomission/mcp

Mission MCP Glama score

Открытый адаптер перехвата MCP от Mission для точного контроля действий.

У него одна узкая задача: находиться перед обернутым MCP-провайдером, классифицировать предлагаемый вызов инструмента и удерживать значимые вызовы с неизменяемой привязкой действия Trust Graduation. Низкорисковые вызовы могут проходить. Сообщение в чате с текстом «approve» никогда не считается авторизацией.

Статус: экспериментальная бета-версия. Apache-2.0. Ноль зависимостей времени выполнения.

Сначала докажите границу

Требования: Node.js 20 или новее.

npx -y @gomission/mcp@beta demo

Команда использует фиктивного email-провайдера и выводит один машиночитаемый DEMO_RESULT. Это доказывает, что:

  • функция значимого провайдера не была вызвана ни разу;

  • удержание содержит точное действие и хеш входных данных;

  • изменение проверенных входных данных изменяет обязательство;

  • текст чата не дает права на выполнение.

Это доказывает перехват, а не завершенную авторизацию или производственное внедрение. Переносимое доказательство предоставления/воспроизведения находится в @trust-graduation/core:

npx -y @trust-graduation/core@beta demo

Related MCP server: agentpassport

Три примитива

Примитив

Ответственность

Переносимый объект

Mission Gate

Принять решение до эффекта провайдера

решение о действии

Trust Profile

Отслеживать полученные полномочия на субъекта и класс действия

профиль доказательств

Mission Key

Авторизовать одно точное действие до истечения срока или отзыва

одноразовый грант

Адаптер MCP реализует удержание до провайдера. Он не выпускает доверенный Mission Key и не может возобновить удержанный вызов. Доверенный хост утверждения и исполнитель должны проверить и атомарно потребить соответствующий ключ. Экспериментальное расширение A2A опубликовано по адресу:

https://trustgraduation.org/extensions/a2a/action-authorization/v1

MCP Hold для точного выполнения провайдера

Корень пакета предоставляет стабильный мост привязки с нулевыми зависимостями, используемый внешним хостом утверждения и исполнителем:

import { providerActionFromMcpBinding } from "@gomission/mcp";
import { createProviderGate } from "@trust-graduation/core";

const gate = createProviderGate({
  store: sharedAtomicGrantStore,
  authenticateGrant: verifyApprovalIssuer,
  provider: existingProviderFunction,
  writeReceipt: durableReceiptSink
});

// Re-read the actual provider input at the final seam; never trust a preview.
const action = providerActionFromMcpBinding(
  heldReceipt.action_binding,
  actualProviderInput
);
const execution = await gate.execute({
  binding: heldReceipt.action_binding,
  approval: authenticatedMissionKey,
  action
});

Мост проверяет целостность привязки и преобразует перехваченные идентификаторы, цель, ограничения, срок действия и одноразовый номер в основную форму исполнителя. Затем ядро повторно хеширует фактические входные данные провайдера, аутентифицирует и атомарно потребляет ключ, вызывает провайдера и записывает доказательства, связанные с результатом. Мутация или повторное воспроизведение никогда не достигают провайдера.

Для сгенерированного адаптера и объективных счетчиков вызовов провайдера:

npm install @trust-graduation/core@beta
npx trust-graduation init-adapter
npx trust-graduation conformance ./mission-gate-adapter.mjs --json

При установке обоих пакетов прилагаемое доказательство совместимости:

node node_modules/@trust-graduation/core/examples/mcp-provider-roundtrip.mjs

Прокси MCP по-прежнему никогда не возобновляет удержанный вызов только потому, что чат сказал «approve». Этот мост предназначен для отдельно аутентифицированного хоста утверждения и исполнителя, привязанного к провайдеру.

Установка для Claude Desktop

npx -y @gomission/mcp@beta install-claude

Установщик проверяет существующую конфигурацию MCP Claude Desktop:

  • если он находит значимые MCP-серверы, он выбирает --wrap;

  • в противном случае он выбирает --local, консультативную демонстрацию точной привязки;

  • он никогда не выбирает автоматически хостируемый режим только для чтения.

Перезапустите Claude Desktop после установки, затем проверьте:

npx -y @gomission/mcp@beta verify

verify зондирует современный MCP с помощью server/discover и tools/list, возвращаясь к протоколу эпохи инициализации для старых конечных точек. Добавьте --json для машиночитаемого отчета или --no-probe для проверки только конфигурации.

Режимы

Режим

Что он обеспечивает

Что он не делает

--wrap

Перехватывает выбранные дочерние MCP-серверы; удерживает вызовы высокого/критического уровня или с низкой уверенностью перед дочерним сервером; закрывается с ошибкой, если дочерний сервер недоступен

Не возобновляет удержанный вызов и не доверяет утверждению в чате

--local

Записывает консультативное удержание точного действия и локальную квитанцию проверки

Не находится между другим инструментом и его провайдером

--remote

Предоставляет хостируемый контекст Mission только для чтения

Не перехватывает другие MCP-серверы

Выбирайте явно, когда это необходимо:

npx -y @gomission/mcp@beta install-claude --wrap
npx -y @gomission/mcp@beta install-claude --local
npx -y @gomission/mcp@beta install-claude --remote

Полезные флаги:

  • --workspace <path> — сохранять локальные квитанции в существующем рабочем пространстве.

  • --dry-run — вывести изменение конфигурации без его записи.

  • --force — создать конфигурацию, даже если Claude Desktop не обнаружен.

  • --remote-url <url> — переопределить хостируемую конечную точку.

  • MISSION_DONT_WRAP="name1,name2" — исключить выбранные дочерние MCP-серверы.

Контракт точного удержания

Для значимого обернутого вызова адаптер записывает локальную квитанцию, содержащую:

  • класс действия;

  • конфиденциальный идентификатор локального рабочего пространства;

  • запрашивающий дочерний MCP-сервер;

  • цель, когда ее можно определить;

  • обязательство по входным данным SHA-256;

  • ограничения на одно выполнение;

  • срок действия и одноразовый номер;

  • обязательство SHA-256 по полной привязке.

Квитанции записываются атомарно с правами доступа к файлам только для владельца. Адаптер никогда не хранит необработанный путь к рабочему пространству внутри привязки. Локальная сводка аргументов остается в квитанции для проверки человеком, поэтому относитесь к каталогу квитанций как к конфиденциальным данным рабочего пространства.

Совместимость с MCP

Предпочтительный протокол: 2026-07-28.

  • _meta без сохранения состояния для каждого запроса с возможностями клиента;

  • обязательный server/discover;

  • одно сообщение JSON-RPC на HTTP POST; современные пакеты и уведомления клиента закрываются с ошибкой;

  • привязка HTTP для MCP-Protocol-Version, Mcp-Method и Mcp-Name;

  • определенные протоколом ошибки HeaderMismatch и неподдерживаемой версии;

  • resultType: "complete" и метаданные кэша;

  • совместимость с эпохой инициализации для 2025-11-25 и 2024-11-05.

Манифест полномочий рекламируется через обнаружение MCP в рамках экспериментальной возможности mission-authority/v1.

Граница безопасности

Адаптер не утверждает:

  • что модель или UI чата аутентифицировали субъекта;

  • что квитанция проверки является грантом на утверждение;

  • поведение ровно один раз у внешнего провайдера;

  • независимое соответствие или производственную валидацию;

  • глобальное доверие к агенту.

Используйте @trust-graduation/core для создания и проверки точных грантов. Исполнитель должен аутентифицировать эмитента гранта, повторно привязать фактические входные данные провайдера, атомарно потребить ключ, вызвать провайдера не более одного раза и согласовать неизвестные результаты провайдера.

Граница открытого ядра

Бесплатно и открыто:

  • этот адаптер MCP;

  • @trust-graduation/core и его схемы;

  • словарь соответствия @gomission/mission-schemas;

  • расширение авторизации точных действий A2A;

  • локальное фокус-приложение Mission Lite.

Коммерческий Mission может предоставлять управляемые политики, доверенные поверхности утверждения, хостируемые операции аудита/квитанций, средства контроля организации, поддержку и интеграции с провайдерами. Права на продукт никогда не предоставляют полномочий на действие.

Ссылки

Лицензия

Apache-2.0. Названия и логотипы Mission являются товарными знаками; лицензия на код не дает разрешения на подразумеваемую поддержку.

Available Tools

5 tools
get_receiptBInspect

Fetch a Mission receipt by id.

ParametersJSON Schema
NameRequiredDescriptionDefault
receipt_idYes

TDQS

B3.1/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, and the description only states a basic fetch operation without disclosing any behavioral traits such as read-only nature, error handling, or performance implications.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single concise sentence with no waste, but it could benefit from a bit more detail without losing brevity.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the simplicity of the tool (one parameter, no output schema, no annotations), the description is minimally adequate but lacks information on return format, error conditions, or how receipt_id is obtained.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema has one parameter (receipt_id) with no description, and the tool description only mentions 'by id' without explaining format, examples, or how to obtain the id.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description 'Fetch a Mission receipt by id' uses a specific verb and resource, clearly distinguishing it from sibling tools like log_action or mission_status.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives, and no exclusions or context are given.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

log_actionBInspect

Log a safe internal action with Mission. Returns a receipt id. Use for non-external actions that still benefit from a permanent receipt.

ParametersJSON Schema
NameRequiredDescriptionDefault
summaryYes
evidenceNo
action_classYes

TDQS

B3.1/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description must fully disclose behavior. It only states 'safe internal action' and output, but omits details about authentication, side effects, or error conditions. The term 'safe' is vague and insufficient.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Very concise: two sentences, no filler. Key information is front-loaded. Every sentence adds value.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool has 3 parameters, no output schema, and no annotations, the description is too sparse. It provides no parameter guidance, no return value details beyond receipt id, and no error handling. The complexity is not matched by the description.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0% (no parameter descriptions in schema). The description does not mention any parameters, their purpose, or constraints. It fails to compensate for the lack of schema documentation.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

Description clearly states action 'log a safe internal action' and output 'returns a receipt id'. It gives a specific verb and resource, but does not explicitly differentiate from siblings like 'get_receipt' or 'request_approval', though the internal purpose is implied.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Provides guidance on when to use: 'Use for non-external actions that still benefit from a permanent receipt.' This gives a clear context, but lacks explicit exclusions or alternatives among siblings.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

mission_askAInspect

Check the explicitly selected local Mission workspace for chat availability. Requires MISSION_WORKSPACE and an explicit loopback MISSION_LOCAL_URL or MISSION_LOCAL_PORT. Chat is currently unavailable until a workspace-scoped authentication handoff is supported; this tool does not forward queries or prepare actions.

ParametersJSON Schema
NameRequiredDescriptionDefault
queryYesA natural-language question or instruction for Mission. Examples: 'what should I approve today?', 'who am I dropping?', 'prepare a reply to Sandro', 'show me my weekly proof', 'what did I just learn?'

TDQS

A3.7/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries the full burden and delivers unusually candid behavior: it discloses required environment variables and, critically, that chat is currently unavailable pending a workspace-scoped authentication handoff. It also states the tool has no side effects (no query forwarding, no action preparation). It falls short of a 5 only because it does not describe what the call actually returns in its unavailable state.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three sentences with the core purpose front-loaded and no obvious padding. It is dense but efficient; minor jargon ('loopback', 'workspace-scoped authentication handoff') slightly slows comprehension.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool is a non-functional availability probe with no output schema, the description is largely complete: it covers required env configuration, the blocked state, and the absence of side effects. It would be fully complete if it pointed the agent at mission_status or otherwise told it what to do instead.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100% and the single required 'query' parameter is fully documented with examples in the schema, so the baseline is 3. The line 'does not forward queries' does tell the agent the parameter is effectively inert, which is useful, but otherwise the description adds no syntax or format detail beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific action and scope: checking the explicitly selected local Mission workspace for chat availability, and explicitly narrows it by saying it 'does not forward queries or prepare actions.' This distinguishes it from request_approval and log_action. It loses a point because the name 'mission_ask' implies a working Q&A tool, creating tension the description only partially resolves, and it never contrasts itself with mission_status.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Preconditions are stated clearly (MISSION_WORKSPACE plus an explicit loopback MISSION_LOCAL_URL or MISSION_LOCAL_PORT), which is real context. However, there is no explicit when-to-use vs when-not-to-use guidance relative to siblings like mission_status, and the reader must infer that this tool is effectively a no-op probe.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

mission_statusAInspect

Return Mission gate status, version, and the current Trust Graduation action classes. Call this first in any session to introduce the permission layer.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

TDQS

A4.2/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the full burden. It describes the return values but does not explicitly state that it has no side effects or that it is read-only. However, the nature of returning status information implies safety, so it is adequate but not exceptional.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two concise sentences: the first states what it returns, the second gives usage guidance. No unnecessary words, highly efficient.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given no output schema, the description adequately lists the three return categories (gate status, version, action classes). It could provide more detail on the format, but it is sufficient for a simple tool with no parameters.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool has zero parameters, so baseline is 4. The description does not need to add parameter meaning; it correctly omits parameter information.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool returns 'Mission gate status, version, and the current Trust Graduation action classes'. It distinguishes itself from siblings by instructing to call it first in any session to introduce the permission layer, making its unique role obvious.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly tells when to use: 'Call this first in any session'. This implies it is a prerequisite for other tools, though it does not explicitly state when not to use it or provide alternatives.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

request_approvalAInspect

Legacy-named advisory hold. Call before a consequential action to produce an exact action binding and local review receipt. This tool does not grant authority or resume execution; the executor must validate a matching single-use Mission Key.

ParametersJSON Schema
NameRequiredDescriptionDefault
summaryYesOne-line plain-English summary of the action.
evidenceNoOptional evidence supporting the action.
action_classYesOne of: send_email, post_public, send_dm, schedule_meeting, spend_money, publish_artifact, modify_external_record, change_trust_policy

TDQS

A4/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries the full burden and discharges much of it: it discloses that the call is advisory-only, non-authoritative, does not resume execution, and that the executor must validate a matching single-use Mission Key. It omits auth requirements and what the receipt actually contains, which are notable gaps for a zero-annotation tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three sentences with no filler, and the most consequential caveat (legacy name, advisory-only) is front-loaded before the invocation condition. Every sentence changes how an agent would behave.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 3-parameter, no-annotation, no-output-schema tool, the description covers the critical semantics: advisory scope, non-authority, and the Mission Key handoff. It does not describe the receipt's contents or the full Mission Key flow, which leaves a small but real gap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so action_class, summary, and evidence are already documented with their allowed values. The description adds no syntax or format guidance beyond the schema, so the baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a concrete deliverable (an exact action binding and a local review receipt) for a consequential-action workflow, and flags that the tool name 'request_approval' is legacy and misleading. It does not, however, position itself against siblings like mission_ask or get_receipt, so the agent gets the function but not the sibling routing.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives clear positive timing ('Call before a consequential action') and an explicit negative boundary ('does not grant authority or resume execution'). It stops short of naming which sibling to use instead when the agent actually needs authority or status, so the alternative-routing half of the guidance is missing.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 5 tool updatesv0.1.0
    • First observedget_receipt
    • First observedlog_action
    • First observedmission_ask
    • First observedmission_status
    • First observedrequest_approval

TDQS

B3.4/5.0

Scored across 5 tools

Disambiguation4/5

Each tool targets a distinct action: request_approval for consequential holds, log_action for internal receipts, get_receipt for retrieval, mission_status for gate status, and mission_ask for chat availability. The overlap between request_approval and log_action (both producing receipts) is clarified by descriptions, but the legacy advisory nature of request_approval could still cause confusion.

Naming Consistency3/5

Most tools use a verb_noun pattern (request_approval, get_receipt, log_action), but mission_ask and mission_status use a noun-prefix convention, and request_approval is explicitly labeled legacy-named. The mix is readable but not fully consistent.

Tool Count4/5

Five tools is a reasonable size for a focused permission-layer server. However, mission_ask is currently non-functional and request_approval is legacy, so one tool does not fully earn its place, making the count slightly heavy rather than ideal.

Completeness3/5

The core lifecycle of status, approval request, action logging, and receipt retrieval is covered, but there are notable gaps: no way to list or search receipts, no tool to validate the single-use Mission Key that request_approval requires the executor to check, and mission_ask only checks unavailable chat functionality.

Maintenance

ActivityMaintained
ResponsivenessResponsive

Related MCP Connectors

Related MCP Servers

  • A
    license
    A
    quality
    A
    maintenance
    The accountability layer for AI agents — a named human's signed yes before an agent does anything irreversible (payment, record change, deploy), then an offline-verifiable Trust Receipt. Apache-2.0, formally verified.
    3
    612
    Apache 2.0
  • F
    license
    Not graded
    quality
    D
    maintenance
    Cryptographically verifiable, scope-narrowing delegation chains for AI agents, enabling human-anchored authorization across multiple hops.
    -
  • A
    license
    Not graded
    quality
    C
    maintenance
    Mission MCP is a Trust Graduation gate for AI agents, with visible approval ceremonies and receipt-backed boundaries for consequential actions.
    MIT