配置示例
{
"mcpServers": {
"linear": {
"command": "npx",
"args": ["-y", "@linear/mcp"],
"env": { "LINEAR_API_KEY": "lin_api_..." }
},
"github": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-github"],
"env": { "GITHUB_TOKEN": "ghp_..." }
}
}
}常见用法
- Linear:让 Agent 创建 / 更新 / 查询 issue
- Notion:让 Agent 写一份会议纪要回 Notion
- GitHub:Agent 看 PR、跑 CI 检查、评论
- 内部系统:写一个 stdio MCP server 包一层公司 API