Kopern
@kopern/mcp-server
为 Claude Code、Cursor、Windsurf 以及任何 MCP 客户端提供 32 个 AI 智能体工具。
在终端或 IDE 中构建、测试、评估和部署 AI 智能体。
快速开始
Claude Code
claude mcp add kopern -- npx -y @kopern/mcp-server然后设置您的 API 密钥:
export KOPERN_API_KEY=kpn_your_key_here手动配置
添加到您的 .mcp.json(项目级)或 ~/.claude/settings.json(全局级):
{
"mcpServers": {
"kopern": {
"command": "npx",
"args": ["-y", "@kopern/mcp-server"],
"env": {
"KOPERN_API_KEY": "kpn_your_key_here"
}
}
}
}Cursor / Windsurf
添加到您的 MCP 设置中:
{
"mcpServers": {
"kopern": {
"command": "npx",
"args": ["-y", "@kopern/mcp-server"],
"env": {
"KOPERN_API_KEY": "kpn_your_key_here"
}
}
}
}可流式传输的 HTTP(无需安装)
如果您的客户端直接支持 HTTP MCP 传输:
{
"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
获取您的 API 密钥
前往 kopern.ai 并登录
导航至 Settings > API Keys
点击 Generate API Key
复制
kpn_...密钥
两种密钥类型:
用户级密钥 — 访问所有 30 个平台工具(智能体 CRUD、评估、模板等)
智能体绑定密钥 — 访问所有 32 个工具,包括
kopern_chat和kopern_agent_info
工具 (32)
智能体管理 (8 个工具)
工具 | 描述 |
| 创建带有系统提示词、模型、技能和工具的新智能体 |
| 获取完整的智能体配置和元数据 |
| 更新智能体系统提示词、模型、领域或内置工具 |
| 永久删除智能体 |
| 列出所有带有评分和版本的智能体 |
| 向智能体发送消息(支持工具调用) |
| 获取智能体元数据(仅限智能体绑定密钥) |
| 从 37 个现成模板中部署(BTP、法律、电子商务等) |
评估与优化 (6 个工具)
工具 | 描述 |
| 根据内联测试用例评估系统提示词 |
| 创建可复用的测试套件及用例 |
| 执行评估套件,获取评分和改进建议 |
| AutoTune — 迭代式提示词优化(使用改进建议) |
| 获取评估运行的详细结果和改进建议 |
| 列出套件的评分历史 |
团队与流水线 (4 个工具)
工具 | 描述 |
| 创建多智能体团队(并行、顺序、条件) |
| 使用提示词执行团队任务 |
| 创建带有输入映射的多步骤流水线 |
| 按顺序执行流水线 |
连接器 (7 个工具)
工具 | 描述 |
| 部署可嵌入的聊天小部件 |
| 连接 Telegram 机器人 |
| 连接 WhatsApp Business |
| 连接到 Slack 工作区 |
| 设置入站/出站 Webhook |
| 连接 Gmail 或 Outlook |
| 连接 Google 或 Microsoft 日历 |
会话与记忆 (3 个工具)
工具 | 描述 |
| 列出带有指标的对话会话 |
| 获取完整的会话详情(事件、工具调用、Token) |
| 智能体记忆 CRUD(记忆、回想、遗忘、列出) |
实用工具 (4 个工具)
工具 | 描述 |
| 浏览 37 个模板(28 个通用 + 9 个垂直领域) |
| 生成欧盟 AI 法案合规报告 |
| Token 使用量、成本、各智能体明细 |
| 将智能体导出为便携式 JSON |
| 从 JSON 导出文件导入智能体 |
示例
从终端创建智能体
> Use kopern_create_agent to create a customer support agent for my SaaS product评估提示词
> 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 steps部署模板
> Use kopern_list_templates to show me business templates, then deploy the "restaurant" one评估并改进
> 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.完整工作流
> Create an agent, add a grading suite with 5 test cases, run grading,
then run autoresearch to optimize the prompt to 90%+ score环境变量
变量 | 必需 | 默认值 | 描述 |
| 是 | — | 您的 Kopern API 密钥 ( |
| 否 |
| 自定义端点 URL |
架构
此包是一个轻量级的 stdio 转 HTTP 桥接器。它从您的 MCP 客户端接收 stdin 上的 JSON-RPC 消息,将其转发到 Kopern 可流式传输的 HTTP 端点,并将响应返回到 stdout。
Claude Code ──stdin──> @kopern/mcp-server ──HTTP──> kopern.ai/api/mcp/server
<──stdout── <──JSON──Kopern 服务器处理所有 MCP 协议方法(initialize、tools/list、tools/call、ping)。零依赖 —— 仅需 Node.js 18+ 和 fetch。
链接
许可证
MIT
Available Tools
31 toolskopern_compliance_reportARead-only
Generate an EU AI Act compliance report for an agent. Checks Art. 6 (risk), Art. 12 (audit trail), Art. 14 (human oversight), Art. 52 (transparency). No LLM cost.
Inputs: agent_id (required).
kopern_connect_calendarA
Connect an agent to Google Calendar or Microsoft Calendar for scheduling tools (list_events, create_event, etc.). Requires OAuth in browser. Enables the service_calendar builtin tool.
Inputs: agent_id (required), provider (required).
kopern_connect_emailA
Connect an agent to Gmail or Outlook for email tools (read_emails, send_email, reply_email). Requires OAuth in browser. Enables the service_email builtin tool.
Inputs: agent_id (required), provider (required).
kopern_connect_slackARead-only
Connect an agent to Slack. Returns an OAuth install URL to authorize in your browser (Slack requires interactive OAuth).
Inputs: agent_id (required).
kopern_connect_telegramAIdempotent
Connect an agent to Telegram via a bot. Requires a bot token from @BotFather.
Inputs: agent_id (required), bot_token (required).
kopern_connect_webhookA
Create an inbound or outbound webhook for an agent. Inbound: receive messages via HTTP POST. Outbound: send events to your URL (n8n, Zapier, Make compatible).
Inputs: agent_id (required), name, type, events, +2 more.
kopern_connect_whatsappAIdempotent
Connect an agent to WhatsApp Business. Requires Meta Cloud API credentials.
Inputs: agent_id (required), access_token (required), phone_number_id (required), phone_number, +1 more.
kopern_connect_widgetAIdempotent
Enable the embeddable chat widget for an agent. Returns the embed code for your website.
Inputs: agent_id (required), position, allowed_origins, welcome_message.
kopern_create_agentA
Create a new AI agent with a system prompt, model, and optional skills. Returns the agentId.
Inputs: name (required), system_prompt (required), model, domain, +4 more.
kopern_create_grading_suiteA
Create a grading suite with test cases on an agent. Each case has an input prompt and expected behavior for evaluation.
Inputs: cases (required), agent_id (required), name, description.
kopern_create_pipelineA
Create a multi-step pipeline on an agent. Steps chain agents sequentially with configurable input mapping.
Inputs: name (required), steps (required), agent_id (required), description.
kopern_create_teamA
Create a multi-agent team. Agents work together in parallel, sequential (chain), or conditional (router) mode.
Inputs: name (required), agents (required), description, execution_mode.
kopern_delete_agentADestructive
Permanently delete an agent and all its data (skills, tools, grading suites, sessions, connectors).
Inputs: agent_id (required).
kopern_deploy_templateA
Deploy an agent from a template (28 general + 9 vertical). Creates agent + skills + tools + grading suite in one shot. Use kopern_list_templates to see available slugs.
Inputs: slug (required), answers.
kopern_export_agentARead-only
Export an agent as a portable JSON object (agent config, skills, tools, extensions, grading suites with cases). Use kopern_import_agent to re-import. No LLM cost.
Inputs: agent_id (required).
kopern_get_agentARead-only
Get full details of an agent: system prompt, model, skills count, tools count, grading suites count.
Inputs: agent_id (required).
kopern_get_grading_resultsARead-only
Get detailed results of a grading run: per-case scores, agent outputs, criteria evaluations, improvement notes. No LLM cost.
Inputs: run_id (required), agent_id (required), suite_id (required).
kopern_get_sessionARead-only
Get full details of a session including message events, tool calls, and metrics. No LLM cost.
Inputs: agent_id (required), session_id (required).
kopern_get_usageARead-only
Get token usage and cost metrics. Shows input/output tokens, cost, grading runs, and per-agent breakdown. No LLM cost.
Inputs: year_month, include_history.
kopern_grade_promptARead-only
Grade a system prompt against inline test cases. Uses 6 criteria types (output_match, schema_validation, tool_usage, safety_check, custom_script, llm_judge). Returns score 0-1. Uses YOUR API keys.
Inputs: test_cases (required), system_prompt (required), model, provider.
kopern_import_agentA
Import an agent from a Kopern export JSON. Creates a new agent with all skills, tools, extensions, and grading suites. No LLM cost.
Inputs: data (required).
kopern_list_agentsARead-only
List all your Kopern agents (name, description, model, domain, grading score). No LLM cost.
Inputs: no named parameters.
kopern_list_grading_runsARead-only
List grading runs for a suite. Shows score history, pass rates, and versions over time. No LLM cost.
Inputs: agent_id (required), suite_id (required).
kopern_list_sessionsARead-only
List conversation sessions for an agent. Shows purpose, source, token usage, cost, timestamps. No LLM cost.
Inputs: agent_id (required), limit.
kopern_list_templatesARead-only
List all 37 AI agent templates (28 general + 9 vertical/business). Returns slug, title, domain, tagline. No LLM cost.
Inputs: category.
kopern_manage_memoryA
Manage an agent's persistent memory. Actions: remember (save key-value), recall (search by query), forget (delete by key), list (all memories). No LLM cost.
Inputs: action (required), agent_id (required), key, query, +2 more.
kopern_run_autoresearchA
Run AutoTune optimization on an agent. Iteratively mutates the system prompt, re-grades, and keeps improvements. Returns the optimized score. Uses YOUR API keys. Can take several minutes.
Inputs: agent_id (required), suite_id (required), target_score, max_iterations, +1 more.
kopern_run_gradingA
Run a grading suite on an agent. Executes all test cases, evaluates with configured criteria, returns detailed scores. Uses YOUR API keys.
Inputs: agent_id (required), suite_id (required).
kopern_run_pipelineA
Execute a pipeline on a prompt. Steps run sequentially, each feeding its output to the next. Uses YOUR API keys.
Inputs: prompt (required), agent_id (required), pipeline_id (required).
kopern_run_teamA
Execute a multi-agent team on a prompt. Returns each agent's output and the final combined result. Uses YOUR API keys.
Inputs: prompt (required), team_id (required).
kopern_update_agentAIdempotent
Update any part of an agent: config, skills, tools, or extensions. Use add/remove arrays for granular control over subcollections.
Inputs: agent_id (required), name, model, domain, +10 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 31 tools
Each tool has a clearly distinct purpose, from agent lifecycle management to external service connections and evaluation. Even similar tools like kopern_create_agent and kopern_deploy_template are differentiated by the template-based bulk creation. No significant overlap.
All tools follow the consistent pattern 'kopern_verb_noun' in lowercase snake_case. Verbs like connect, create, delete, get, list, run, update are used predictably, making the toolset easy to navigate.
With 31 tools, the server is on the higher end but justifiably so due to the broad scope covering agent creation, connections, grading, pipelines, teams, and more. The count is appropriate for the comprehensive feature set without feeling bloated.
The tool surface appears complete for an agent management server: full CRUD for agents, integration with multiple external services, grading, optimization, memory management, and team/pipeline execution. No obvious missing operations for the stated domain.
Maintenance
Related MCP Connectors
Build, validate, and deploy multi-agent AI solutions from any AI environment.
Build, test and run the AI part of your product: prompts, workflows, agents and evals.
1Train, evaluate, red-team and deploy AI agents: prompt tuning, LLM-judged evals, katas.
The AI orchestration agent for modern software teams.
Related MCP Servers
AlicenseBqualityAmaintenanceA Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.10259,662,384 npm40,474Apache 2.0- AlicenseAqualityAmaintenanceOfficial Google Analytics MCP Server1033,149 PyPI3,902Apache 2.0
- AlicenseDqualityDmaintenanceAI-native orchestration layer with 80+ tools for task management, code editing, browser automation, terminal control, and persistent memory across CLI, local MCP, and cloud deployments.699 npm31ISC
- AlicenseAqualityAmaintenanceOrchestrates multiple AI coding agents declaratively to automate software development workflows for engineering teams.141,223Apache 2.0