emcee
是一款服务于 MCP 协议 的工具,其核心功能在于提供并管理各类工具。而且,它支持借助 OpenAPI 定义的接口来拓展工具集。
emcee tools/list
emcee tools/call --name tool_name --arguments '{"argument_key": "argument_value"}'
emcee
提供 MCP 功能emcee --version
docker pull loopworkai/emcee:latest
emcee tools/list
emcee tools/call --name tool_name --arguments '{"argument_key": "argument_value"}'
emcee --config /path/to/config.yaml tools/list
$HOME/.config/emcee/config.yaml
):log_level: info
cache_dir: $HOME/.cache/emcee
emcee --config /path/to/config.yaml tools/list
git clone https://github.com/loopwork-ai/emcee.git
cd emcee
go mod tidy
go test ./...
openapi: "3.0"
info:
title: Example API
version: 1.0.0
paths:
/example:
get:
summary: Returns a list of examples.
responses:
'200':
description: Successfully retrieved examples.
tools:
- name: example_tool
description: 描述示例工具的功能。
input_schema:
type: object
properties:
input_key:
type: string
{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "example_tool",
"arguments": {
"input_key": "input_value"
}
},
"id": 1
}
{
"jsonrpc": "2.0",
"result": {
"content": [
{
"type": "text/plain",
"text": "响应内容"
}
]
},
"id": 1
}
npm install -g @modelcontextprotocol/inspector
emcee-inspector emcee --port 5173
http://localhost:5173
emcee 采用 Apache License, Version 2.0 许可证。