KYA-OS MCP Server

KYA-OS MCP Server

A ready-to-deploy MCP server with in-process agent verification via KYA-OS Checkpoint, enabling secure tool access for verified agents.

Category
Visit Server

README

KYA-OS MCP Server

A ready-to-deploy Model Context Protocol server, protected by KYA-OS Checkpoint. Deploy it in one click, point an MCP client at it, and every agent that connects is verified by the KYA-OS detection engine — running in-process, no gateway round-trip — before it can reach your tools.

Deploy with Vercel Deploy to Netlify

Railway: a one-click button is coming — Railway deploys published templates by code (railway.com/new/template/<code>), so it needs this repo published as a Railway template first. For now, deploy it on Railway from the repo directly (New Project → Deploy from GitHub repo).

What you get

  • A working MCP server at /api/mcp (streamable HTTP) with two example tools — swap in your own.
  • Checkpoint protection via withCheckpoint from @kya-os/checkpoint-nextjs — the Rust detection engine runs in-process (WASM), and enforcement is driven by your dashboard policy.
  • Zero-config deploy — a standard Next.js 16 App Router app; Vercel / Railway / Netlify detect and build it automatically.

One-click deploy

  1. Click a Deploy button above.
  2. When prompted, paste two values from your Checkpoint project settings:
    • CHECKPOINT_PROJECT_ID — binds this server to your project's policy.
    • CHECKPOINT_API_KEY — authenticates the policy fetch.
  3. Deploy. Your MCP endpoint is live at https://<your-deployment>/api/mcp.

Secrets are entered on the platform, never in a URL. Without them the server still runs, using the engine's default detection instead of your dashboard policy.

Connect an MCP client

Point any MCP client at your endpoint. For example, in a client that uses mcp.json:

{
  "mcpServers": {
    "kya-os": {
      "url": "https://<your-deployment>/api/mcp"
    }
  }
}

Then call the checkpoint_status tool to confirm which project is protecting the server.

Local development

cp .env.example .env.local   # add your CHECKPOINT_* values
npm install
npm run dev                  # http://localhost:3000  ·  MCP at /api/mcp

How Checkpoint protects it

middleware.ts wires withCheckpoint across every route (including /api/mcp). The engine verifies each request locally and applies your project's policy — block, challenge-for-delegation, or observe — which you configure in the dashboard. Because verification is in-process, there's no per-request network hop.

// middleware.ts
import { withCheckpoint } from '@kya-os/checkpoint-nextjs';

export default withCheckpoint({
  tenantHost: process.env.CHECKPOINT_TENANT_HOST ?? 'localhost:3000',
  projectId: process.env.CHECKPOINT_PROJECT_ID,
  apiKey: process.env.CHECKPOINT_API_KEY,
});

Add your own tools

Tools live in app/api/[transport]/route.ts. Each server.tool(...) becomes callable by any connected MCP client:

server.tool(
  'get_weather',
  'Return the current weather for a city.',
  { city: z.string() },
  async ({ city }) => ({
    content: [{ type: 'text', text: `It's sunny in ${city}.` }],
  })
);

Going further — verifiable agent delegation

This template uses Checkpoint's detection layer. If you want agents to present a cryptographically verifiable, capability-scoped delegation (a user grants an agent a time-boxed, read-vs-write-separated credential from their own passkey-backed identity), see the Hobbsidian reference app, which builds on @kya-os/id and @kya-os/mcp.

Learn more

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured