Kopern
@kopern/mcp-server
32 AI agent tools for Claude Code, Cursor, Windsurf, and any MCP client.
Build, test, grade, and deploy AI agents — all from your terminal or IDE.
Quick Start
Claude Code
claude mcp add kopern -- npx -y @kopern/mcp-serverThen set your API key:
export KOPERN_API_KEY=kpn_your_key_hereManual Configuration
Add to your .mcp.json (project) or ~/.claude/settings.json (global):
{
"mcpServers": {
"kopern": {
"command": "npx",
"args": ["-y", "@kopern/mcp-server"],
"env": {
"KOPERN_API_KEY": "kpn_your_key_here"
}
}
}
}Cursor / Windsurf
Add to your MCP settings:
{
"mcpServers": {
"kopern": {
"command": "npx",
"args": ["-y", "@kopern/mcp-server"],
"env": {
"KOPERN_API_KEY": "kpn_your_key_here"
}
}
}
}Streamable HTTP (no install)
If your client supports HTTP MCP transport directly:
{
"mcpServers": {
"kopern": {
"type": "http",
"url": "https://kopern.ai/api/mcp/server",
"headers": {
"Authorization": "Bearer kpn_your_key_here"
}
}
}
}Get Your API Key
Go to kopern.ai and sign in
Navigate to Settings > API Keys
Click Generate API Key
Copy the
kpn_...key
Two key types:
User-level key — access to all 30 platform tools (agent CRUD, grading, templates, etc.)
Agent-bound key — access to all 32 tools including
kopern_chatandkopern_agent_info
Tools (32)
Agent Management (8 tools)
Tool | Description |
| Create a new agent with system prompt, model, skills, and tools |
| Get full agent configuration and metadata |
| Update agent system prompt, model, domain, or builtin tools |
| Permanently delete an agent |
| List all your agents with scores and versions |
| Send a message to an agent (with tool calling) |
| Get agent metadata (agent-bound key only) |
| Deploy from 37 ready-made templates (BTP, Legal, E-commerce...) |
Grading & Optimization (6 tools)
Tool | Description |
| Grade a system prompt against inline test cases |
| Create a reusable test suite with cases |
| Execute a grading suite and get scores |
| AutoTune — iterative prompt optimization |
| Get detailed results for a grading run |
| List score history for a suite |
Teams & Pipelines (4 tools)
Tool | Description |
| Create multi-agent teams (parallel, sequential, conditional) |
| Execute a team with a prompt |
| Create multi-step pipelines with input mapping |
| Execute a pipeline sequentially |
Connectors (7 tools)
Tool | Description |
| Deploy an embeddable chat widget |
| Connect a Telegram bot |
| Connect WhatsApp Business |
| Connect to Slack workspace |
| Set up inbound/outbound webhooks |
| Connect Gmail or Outlook |
| Connect Google or Microsoft Calendar |
Sessions & Memory (3 tools)
Tool | Description |
| List conversation sessions with metrics |
| Get full session details (events, tool calls, tokens) |
| Agent memory CRUD (remember, recall, forget, list) |
Utilities (4 tools)
Tool | Description |
| Browse 37 templates (28 general + 9 vertical) |
| Generate EU AI Act compliance report |
| Token usage, cost, per-agent breakdown |
| Export agent as portable JSON |
| Import agent from JSON export |
Examples
Create an agent from your terminal
> Use kopern_create_agent to create a customer support agent for my SaaS productGrade a prompt
> Use kopern_grade_prompt to test my system prompt with these cases:
- "What's your refund policy?" should mention "30-day guarantee"
- "Can I cancel?" should be empathetic and provide stepsDeploy a template
> Use kopern_list_templates to show me business templates, then deploy the "restaurant" oneFull workflow
> Create an agent, add a grading suite with 5 test cases, run grading,
then run autoresearch to optimize the prompt to 90%+ scoreEnvironment Variables
Variable | Required | Default | Description |
| Yes | — | Your Kopern API key ( |
| No |
| Custom endpoint URL |
Architecture
This package is a lightweight stdio-to-HTTP bridge. It receives JSON-RPC messages on stdin from your MCP client, forwards them to the Kopern Streamable HTTP endpoint, and returns responses on stdout.
Claude Code ──stdin──> @kopern/mcp-server ──HTTP──> kopern.ai/api/mcp/server
<──stdout── <──JSON──The Kopern server handles all MCP protocol methods (initialize, tools/list, tools/call, ping). Zero dependencies — just Node.js 18+ and fetch.
Links
License
MIT
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/berch-t/kopern'
If you have feedback or need assistance with the MCP directory API, please join our Discord server