Kopern
Kopern MCP Server provides 32 tools for building, testing, grading, and deploying AI agents directly from MCP-compatible clients (Claude Code, Cursor, Windsurf, etc.).
Agent Management: Create, update, delete, list, and interact with AI agents using custom system prompts, models, skills, and tools; deploy from 37 ready-made templates (BTP, Legal, E-commerce, etc.)
Grading & Optimization: Grade system prompts against test cases using 6 criteria types (output_match, schema_validation, tool_usage, safety_check, custom_script, llm_judge); create reusable grading suites; view detailed results and score history
AutoTune: Iteratively auto-optimize agent system prompts using improvement notes from grading runs until a target score is reached
Teams & Pipelines: Build multi-agent teams (parallel/sequential/conditional) and multi-step pipelines with configurable input mapping
Connectors: Deploy embeddable chat widgets; connect agents to Telegram, WhatsApp Business, Slack, inbound/outbound webhooks, Gmail/Outlook, and Google/Microsoft Calendar
Sessions & Memory: List and inspect conversation sessions with metrics; manage persistent agent memory (remember, recall, forget, list)
Utilities: Generate EU AI Act compliance reports (Articles 6, 12, 14, 52); view token usage and cost breakdowns per agent; export/import agent configurations as portable JSON
Enables connecting to Gmail for email integration, allowing agents to send/receive emails.
Enables connecting to Google Calendar for calendar integration, allowing agents to manage events.
Enables connecting to Slack workspace for messaging integration, allowing agents to send messages and interact.
Enables connecting a Telegram bot, allowing agents to send and receive messages through Telegram.
Enables connecting WhatsApp Business, allowing agents to send and receive messages through WhatsApp.
@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"
}
}
}
}Related MCP server: Google Analytics MCP Server
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, get scores + improvement notes |
| AutoTune — iterative prompt optimization (uses improvement notes) |
| Get detailed results + improvement notes 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" oneGrade and improve
> Run kopern_run_grading on my agent — it will return scores AND improvement notes.
Then run kopern_run_autoresearch to optimize using those suggestions automatically.Full 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