coze-mcp-server

hexonal/coze-mcp-server

3.1

If you are the rightful owner of coze-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

A MCP server implementation for Coze API

MCP Coze Server

A MCP server implementation for Coze API

Installation

  1. Install the package from PyPI:
pip install mcp-coze-server
  1. Install additional dependencies:
pip install cozepy @ git+https://github.com/shizeying/coze-py.git@v0.13.1.post1

Or install from source:

git clone https://github.com/shizeying/coze-mcp-server.git
cd coze-mcp-server
pip install -r requirements.txt
pip install -e .

Usage

  1. 设置环境变量:
export COZE_API_TOKEN="your_api_token"
export COZE_API_BASE="https://api.coze.cn"  # 或其他API地址
  1. 运行服务器:
python -m mcp_coze_server

Configuration

Support the following configuration methods:

  1. Environment variables:

    • COZE_API_TOKEN
    • COZE_API_BASE
  2. Command line arguments:

    • --coze-api-token
    • --coze-api-base

Development

  1. Clone the repository:
git clone https://github.com/shizeying/coze-mcp-server.git
  1. Install dependencies:
pip install -r requirements.txt
pip install -e .

License

This project is licensed under the MIT License - see the LICENSE file for details.