MCP (Model Context Protocol) is an open standard created by Anthropic that defines a common language between AI clients and external servers. Any client that speaks MCP can use any conforming server, regardless of what system that server wraps. This makes it possible to build a single inspector tool — like Kunna MCP Client — that works with any MCP-compliant server, from a local filesystem server to a remote IoT data platform.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/vancovx/KunnaClienteMCP/llms.txt
Use this file to discover all available pages before exploring further.
The problem MCP solves
Before MCP, connecting an AI model to each external service required bespoke code for every combination. A team that wanted their AI assistant to query a database, call a REST API, and read local files had to write three completely separate integration layers — and if a new AI model came along, those layers might need to be rewritten again. MCP solves this with a single shared protocol. The scale of the problem is clearest when you think in terms of N×M integrations:- Without MCP: N AI clients × M services = N×M custom integrations. Every new client that wants to talk to every existing service must write its own adapter for each one.
- With MCP: each AI client implements the protocol once; each service implements the protocol once. The result is N+M implementations that interoperate freely.
How it works
MCP communication is built on JSON-RPC 2.0. The client and server exchange structured JSON messages over a transport layer (HTTP, SSE, or STDIO). The session always starts with a capability negotiation handshake:- The client sends an
initializerequest carrying its identity and the capabilities it supports. - The server responds with its own identity and the capabilities it exposes: tools, prompts, resources, or any combination.
- The client sends a
notifications/initializedmessage to confirm the handshake is complete. - From that point, the client can list and invoke any capability the server advertised.
tools/call, prompts/get, resources/read — follows the same JSON-RPC pattern: a named method with parameters, and a structured response.
MCP in Kunna
Kunna MCP Client uses the official@modelcontextprotocol/sdk npm package as its protocol implementation. The app does not implement JSON-RPC from scratch; instead, the McpConnection class in src/lib/mcpClient.js wraps the SDK’s Client class and provides a clean interface for the rest of the React application.
McpConnection is responsible for three things:
- Transport setup — constructing the correct transport object (
StreamableHTTPClientTransportorSSEClientTransport) based on the connection config. - Capability negotiation — calling
connect()on the SDK client, then readinggetServerCapabilities()to discover what the server offers. - Method dispatch — exposing
callTool(),getPrompt(), anddisconnect()so the UI never needs to touch the SDK directly.
For the full protocol specification, including message schemas, versioning, and the complete list of methods, see the official MCP documentation at https://modelcontextprotocol.io.