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
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。