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.
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.
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
withCheckpointfrom@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
- Click a Deploy button above.
- 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.
- 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
- Checkpoint dashboard & docs — kya.vouched.id
- Model Context Protocol — modelcontextprotocol.io
Recommended Servers
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.
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.
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.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
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.
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.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
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.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.