Skip to main content
The NeuroFusion Quest MCP Server exposes your NeuroFusion workspace to Model Context Protocol (MCP) clients — including Claude, VS Code / GitHub Copilot, Cursor, and custom research agents — over a standards-compliant stateless Streamable HTTP endpoint (/mcp).

Capabilities

The server covers three core research workflows across 31 tools and 6 resources:

Endpoint & Transport

The server runs in stateless mode per the MCP 2026-07-28 Streamable HTTP specification. Send all JSON-RPC requests with POST /mcp. GET /mcp and DELETE /mcp return 405 Method Not Allowed.

Quick Connect

Because the server implements full OAuth 2.1 discovery (Protected Resource Metadata, Authorization Server Metadata, Client ID Metadata Documents, and Dynamic Client Registration), modern MCP clients automatically discover endpoints and guide you through signing in with your existing NeuroFusion Nostr account.
Add the server to your .vscode/mcp.json (workspace) or user MCP settings:
When you first invoke a NeuroFusion tool, VS Code opens your browser to the NeuroFusion OAuth consent screen (/oauth/authorize). Sign in with your Nostr account, review the requested scopes, and click Approve.

Security & Compliance Guarantees

The MCP server enforces the same governance and compliance boundaries as the NeuroFusion web dashboard:
  • Dual Authorization (Defense in Depth): Every tool and resource requires both the matching OAuth 2.1 scope (for example, quests:write) and your existing NeuroFusion organization role and permissions (for example, quest.create or data.delete).
  • Strict Token Isolation: MCP access tokens (token_use: "mcp_access") are audience-bound (aud) to /mcp and are rejected on /api/* REST endpoints. Conversely, standard NeuroFusion web Nostr JWTs are rejected on /mcp.
  • Compliance Audit Trail: Dataset reads (list_quest_datasets, get_dataset_content), exports (create_dataset_export), dataset deletions (delete_quest_datasets), and quest soft-deletions (delete_quest) all write to the Data Audit Trail with source: "mcp".
  • Safe Destructive Operations: Deleting a quest with collected data returns an impact summary and refuses unless confirmDataLoss: true is explicitly passed. Deleting datasets requires a non-empty compliance reason.

Next Steps

Authentication & Scopes

Learn how OAuth 2.1, Nostr sign-in, scopes, step-up challenges, and token rotation work.

Tools & Resources Reference

Explore all 31 MCP tools and 6 resource URIs with parameters, scopes, and RBAC requirements.

Workflow Examples

Follow end-to-end examples for creating quests, exporting datasets, and publishing artifacts.

Organizations & Permissions

Review the underlying NeuroFusion RBAC permissions enforced on every MCP call.