Fellow MCP Server

Fellow MCP Server

Enables AI tools to interact with the Fellow.ai API for managing action items, notes, recordings, webhooks, and user info with full CRUD operations.

Category
访问服务器

README

Fellow MCP Server

A custom Model Context Protocol (MCP) server that bridges MCP-compatible AI tools to the Fellow.ai Developer API. Runs as a Docker container on your local network, accepting JSON-RPC 2.0 messages over HTTP.

Unlike Fellow's official read-only MCP server, this implementation provides full CRUD coverage of the Fellow.ai API — including completing action items, deleting notes, managing webhooks, and more — with simple token-based authentication that avoids OAuth complexity.

Features

  • 16 MCP tools covering action items, notes, recordings, webhooks, and user info
  • Full CRUD — list, get, create, update, delete operations where the Fellow API supports them
  • Automatic pagination — transparently fetches all pages (up to 1,000 results) for list operations
  • Retry with backoff — exponential backoff on transient errors (429, 5xx) with Retry-After support
  • Rate limiting — built-in token bucket enforcing Fellow's 3 requests/second limit
  • Input validation — validates all parameters before calling Fellow, reporting all errors at once
  • Structured logging — JSON-formatted logs with per-request correlation IDs
  • Simple auth — optional X-MCP-AUTH-TOKEN header with constant-time comparison
  • Docker-ready — multi-stage build, non-root user, health check included

Available Tools

Tool Description
list_action_items List action items with filters (completed, archived, scope, ordering)
get_action_item Get a single action item by ID
complete_action_item Mark an action item as complete or incomplete
archive_action_item Archive an action item
list_notes List meeting notes with filters and include options
get_note Get a single note by ID
delete_note Delete a note
list_recordings List recordings with filters, includes, and media URL option
get_recording Get a recording with optional transcript/AI notes/media URL
delete_recording Delete a recording
list_webhooks List webhooks with optional limit and cursor
get_webhook Get a single webhook by ID
create_webhook Create a new webhook subscription
update_webhook Update a webhook's URL, events, description, or status
delete_webhook Delete a webhook
get_current_user Get the authenticated user's info and workspace details

Quick Start

1. Get a Fellow API Key

Generate an API key from your Fellow.ai workspace at Settings → Integrations → Developer API.

2. Configure Environment

cp .env.example .env

Edit .env with your credentials:

FELLOW_API_KEY=your-fellow-api-key
FELLOW_SUBDOMAIN=your-company

3. Run with Docker Compose

docker compose up --build -d

The server starts on port 8000. Verify it's running:

curl http://localhost:8000/health
# {"status": "healthy", "fellow_api": "reachable"}

Configuration

All configuration is via environment variables. No config files needed.

Variable Required Default Description
FELLOW_API_KEY Yes Your Fellow.ai Developer API key
FELLOW_SUBDOMAIN Yes Your Fellow workspace subdomain (e.g., acme for acme.fellow.app)
MCP_AUTH_ENABLED No false Set to true (case-sensitive) to require token authentication
MCP_AUTH_TOKEN Conditional Authentication token (min 16 characters). Required when MCP_AUTH_ENABLED=true
GUNICORN_WORKERS No 2 Number of Gunicorn worker processes (1–8)
LOG_LEVEL No INFO Log verbosity: DEBUG, INFO, WARNING, ERROR, CRITICAL
MCP_ENDPOINT_PATH No /mcp HTTP path for the MCP endpoint

Startup Validation

The server validates configuration on startup and refuses to start with a descriptive error if:

  • FELLOW_API_KEY or FELLOW_SUBDOMAIN is missing or empty
  • MCP_AUTH_TOKEN is missing or shorter than 16 characters when auth is enabled
  • GUNICORN_WORKERS is not an integer between 1 and 8

Connecting an AI Tool

MCP Client Configuration

Point your MCP-compatible client at the server's HTTP endpoint. For example, in an MCP client configuration:

{
  "mcpServers": {
    "fellow": {
      "url": "http://localhost:8000/mcp",
      "headers": {
        "X-MCP-AUTH-TOKEN": "your-token-here"
      }
    }
  }
}

Protocol Details

  • Transport: HTTP POST
  • Endpoint: /mcp (configurable via MCP_ENDPOINT_PATH)
  • Protocol: JSON-RPC 2.0
  • Methods: tools/list, tools/call
  • Content-Type: application/json

Example Request

# List available tools
curl -X POST http://localhost:8000/mcp \
  -H "Content-Type: application/json" \
  -H "X-MCP-AUTH-TOKEN: your-token-here" \
  -d '{"jsonrpc": "2.0", "id": 1, "method": "tools/list"}'

# Call a tool
curl -X POST http://localhost:8000/mcp \
  -H "Content-Type: application/json" \
  -H "X-MCP-AUTH-TOKEN: your-token-here" \
  -d '{
    "jsonrpc": "2.0",
    "id": 2,
    "method": "tools/call",
    "params": {
      "name": "get_current_user",
      "arguments": {}
    }
  }'

Authentication

Authentication is optional and disabled by default. When enabled, every request to /mcp must include the X-MCP-AUTH-TOKEN header with a value matching the configured token.

To enable:

MCP_AUTH_ENABLED=true
MCP_AUTH_TOKEN=a-secure-random-token-at-least-16-chars

Requests with missing or invalid tokens receive HTTP 401 with a JSON error body. Token comparison uses constant-time comparison to prevent timing attacks.

Health Endpoint

GET /health returns the server and Fellow API connectivity status:

{"status": "healthy", "fellow_api": "reachable"}

The fellow_api field is "unreachable" if the Fellow API doesn't respond, but the server itself remains available. This endpoint is used by Docker's HEALTHCHECK.

Deployment

Docker Compose (Recommended)

docker compose up --build -d

Docker (Manual)

docker build -t fellow-mcp-server .
docker run -d \
  --name fellow-mcp \
  -p 8000:8000 \
  --env-file .env \
  fellow-mcp-server

Security Notes

  • The container runs as a non-root user (appuser)
  • Enable MCP_AUTH_ENABLED=true if the server is accessible beyond localhost
  • The Fellow API key grants access to your workspace data — keep .env out of version control
  • Consider placing behind a reverse proxy with TLS for non-local deployments

Resilience

  • Retry: Transient errors (HTTP 429, 500, 502, 503, 504, timeouts) are retried up to 3 times with exponential backoff (1s, 2s, 4s). The Retry-After header on 429 responses is honored.
  • Rate Limiting: A token bucket enforces 3 requests/second to the Fellow API. Excess requests queue rather than fail.
  • Timeouts: Each Fellow API request has a 30-second timeout.
  • Pagination: List endpoints auto-paginate up to 20 pages (1,000 results). A truncation indicator is included when the limit is reached.

Development

Setup

python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
pip install -r requirements-dev.txt

Run Tests

source venv/bin/activate
pytest                    # All tests
pytest -m unit            # Unit tests only
pytest -m property        # Property-based tests (Hypothesis)
pytest -m integration     # Integration tests
pytest --cov=app          # With coverage report

Run Locally (without Docker)

If you don't want to use Docker, you can run the server directly on your machine. This section walks through each step in detail.

Prerequisites

You need Python 3.11 or newer installed on your system. To check:

python3 --version

If you see something like Python 3.11.x or Python 3.12.x, you're good. If python3 isn't found, install it:

  • macOS: brew install python@3.12 (requires Homebrew)
  • Ubuntu/Debian: sudo apt update && sudo apt install python3 python3-venv python3-pip
  • Windows: Download from python.org — check "Add Python to PATH" during install, then use python instead of python3 in the commands below.

Step 1 — Download the code

If you have git installed:

git clone https://github.com/ccsi-sandbox/fellow-mcp-server.git
cd fellow-mcp-server

Or download the ZIP from GitHub and extract it, then open a terminal in that folder.

Step 2 — Create a virtual environment

A virtual environment keeps this project's dependencies isolated from other Python software on your machine.

python3 -m venv venv

This creates a venv/ folder in the project directory. You only need to do this once.

Step 3 — Activate the virtual environment

Every time you open a new terminal to work with this project, run:

# macOS / Linux
source venv/bin/activate

# Windows (Command Prompt)
venv\Scripts\activate.bat

# Windows (PowerShell)
venv\Scripts\Activate.ps1

You'll know it's active when your prompt shows (venv) at the beginning.

Step 4 — Install dependencies

With the virtual environment active:

pip install -r requirements.txt

This downloads and installs all the libraries the server needs. You only need to do this once (or again if requirements.txt changes).

Step 5 — Configure your environment

Copy the example configuration file:

cp .env.example .env

Open .env in any text editor and fill in the two required values:

FELLOW_API_KEY=your-fellow-api-key-here
FELLOW_SUBDOMAIN=your-company
  • FELLOW_API_KEY: Get this from Fellow.ai → Settings → Integrations → Developer API.
  • FELLOW_SUBDOMAIN: The part before .fellow.app in your workspace URL. For example, if you log in at acme.fellow.app, your subdomain is acme.

The other settings in .env are optional and have sensible defaults. See the Configuration section above for details.

Step 6 — Start the server

python3 app/main.py

You should see output similar to:

 * Running on http://0.0.0.0:8000

The server is now listening on port 8000. Leave this terminal open — the server runs until you stop it with Ctrl+C.

Step 7 — Verify it works

Open a second terminal (or a browser) and check the health endpoint:

curl http://localhost:8000/health

You should see:

{"status": "healthy", "fellow_api": "reachable"}

If fellow_api shows "unreachable", double-check your FELLOW_API_KEY and FELLOW_SUBDOMAIN in the .env file.

Stopping and restarting

  • Stop: Press Ctrl+C in the terminal where the server is running.
  • Restart: Make sure the virtual environment is activated (source venv/bin/activate), then run python3 app/main.py again.

Troubleshooting

Symptom Fix
python3: command not found Install Python 3.11+ (see Prerequisites above)
ModuleNotFoundError: No module named 'flask' You forgot to activate the venv or run pip install -r requirements.txt
Server starts but /health says fellow_api: unreachable Check that FELLOW_API_KEY and FELLOW_SUBDOMAIN are correct in .env
Address already in use Another process is using port 8000. Stop it, or change the port in app/main.py
Permission denied on Linux Don't run with sudo. Use your normal user account with a venv.

License

MIT

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选