Logo
NeoArc Studio

MCP Server Documentation Overview

Understand the Model Context Protocol and how NeoArc Studio documents MCP servers. Learn about the three primitives (tools, resources, prompts), transport modes, authentication, and how MCP fits into your architecture documentation workflow.

The Model Context Protocol (MCP) is an open standard created by Anthropic that provides a uniform way for AI assistants to connect to external data sources and tools. Rather than building bespoke integrations for every system an AI agent needs to access, MCP defines a protocol layer that any server can implement and any client can consume.

NeoArc Studio treats MCP servers as a first-class integration type alongside REST APIs, GraphQL APIs, gRPC services, AsyncAPI event streams, and webhooks. Each MCP server is authored as a single .projection.json file with profileType: 'api' and apiType: 'mcp', capturing the server definition and each of its tools, resources, and prompts as projection entities.

The Three Primitives

MCP organises server capabilities into three complementary primitive types. Each serves a distinct role in how AI assistants interact with external systems.

Tools
Actions the AI can perform. Model-controlled: the LLM decides when to invoke them. Examples include searching databases, creating records, and running calculations. Each tool declares its safety profile through annotations.
Resources
Data the AI can read. Application-controlled: the host application decides which resources to expose. Resources use URIs and support subscriptions for real-time updates. Think of them as read-only data endpoints.
Prompts
Reusable conversation templates. User-controlled: the user selects which prompt to activate. Prompts define arguments, expected message flows, and examples. They standardise how the AI interacts with specific domains.

How MCP Fits Into Your Architecture

MCP servers sit at the boundary between your internal systems and AI agents. They expose a controlled surface area that determines what the AI can see and do.

ConcernMCP SolutionNeoArc Documentation
What can the AI do?Tools with defined input/output schemasTool definitions with annotations, error scenarios, and examples
What data can the AI access?Resources with URIs and MIME typesResource definitions with template parameters and content previews
How should the AI behave?LLM instructions and prompt templatesServer-level instructions and prompt definitions with message flows
What are the safety boundaries?Tool annotations (read-only, destructive)Semantic badges with colour-coded safety matrix
How does the AI connect?Transports (stdio, HTTP)Transport configuration with command, URL, and environment variables
Who is authorised?OAuth 2.1, API keysAuthentication configuration with scopes and PKCE settings

Storage

Each MCP server is a single .projection.json file with profileType: 'api' and apiType: 'mcp'. The projection can live anywhere in your workspace. Server-level configuration sits on apiProfile.protocolMetadata; tools, resources and prompts are projection entities within the same file.

{
  "schemaVersion": "1.0.0",
  "fileType": "projection",
  "profileType": "api",
  "apiProfile": {
    "apiType": "mcp",
    "protocolMetadata": {
      "protocolVersion": "2025-06-18",
      "capabilities": { },
      "transports": [ ]
    }
  },
  "entities": [
    { "entityKind": "mcp-tool",     "name": "search-data" },
    { "entityKind": "mcp-tool",     "name": "create-item" },
    { "entityKind": "mcp-resource", "name": "data-feed" },
    { "entityKind": "mcp-prompt",   "name": "analyse" }
  ]
}

Publishing and Viewing

When you publish your documentation site, MCP servers appear in the viewer sidebar as a navigable tree grouped by primitive type. Each server shows its tools, resources, and prompts with detail viewers that render annotations, schemas, examples, and transport configuration.

Sidebar Navigation
Servers appear in the sidebar with tools, resources, and prompts grouped under collapsible headings. Count badges show how many entities each server exposes.
Detail Viewers
Each entity type has a dedicated viewer: tools show annotations and schemas, resources show URIs and metadata, prompts show arguments and message flows.
Full-Text Search
MCP entities are indexed for search. Find tools by name, resources by URI, and prompts by argument name or description.

Next Steps