by fastnai
Provides a scalable platform for dynamic tool registration and execution based on API definitions, integrating services like Slack, Notion, Claude.ai, and Cursor.ai, with flexible authentication and comprehensive logging.
Fastn Server enables dynamic registration and execution of tools defined by APIs. It acts as a unified backend that connects to external services (e.g., Slack, Notion, HubSpot) and AI assistants such as Claude and Cursor, allowing developers to invoke these tools through a consistent MCP interface.
pip install fastn-mcp-server
(recommended) or by cloning the repo and installing dependencies with UV.uv run fastn-server.py
with the appropriate flags (--api_key
/--space_id
or --tenant_id
/--auth_token
).Q: Which Python version is required? A: Python 3.10 or higher.
Q: Can I run the server without installing the pip package? A: Yes, clone the repository and use UV to create a virtual environment and install dependencies.
Q: How do I choose between API‑key and tenant authentication? A: API‑key is ideal for single‑workspace usage; tenant authentication is recommended for multi‑tenant or enterprise scenarios.
Q: What should I do if I encounter a "Package Structure Error" during installation?
A: Ensure pyproject.toml
contains the wheel configuration:
[tool.hatch.build.targets.wheel]
packages = ["."]
Then reinstall the dependencies.
Q: Where can I find documentation and community support? A: Documentation at https://docs.fastn.ai and community at https://community.fastn.ai.
The Fastn server is a powerful, scalable platform that enables dynamic tool registration and execution based on API definitions. It seamlessly integrates with services like Claude.ai and Cursor.ai, providing a unified server solution for a wide range of tasks.
The easiest way to install the Fastn server is using pip:
pip install fastn-mcp-server
To find the exact path of the installed command:
which fastn-mcp-server
where fastn-mcp-server
# Clone repository and navigate to directory
git clone <your-repo-url> && cd fastn-server
# macOS/Linux: Install UV, create virtual environment, and install dependencies
curl -LsSf https://astral.sh/uv/install.sh | sh && uv venv && source .venv/bin/activate && uv pip install -e .
# Windows (PowerShell): Install UV, create a virtual environment, and install dependencies
powershell -c "irm https://astral.sh/uv/install.ps1 | iex" && uv venv && .venv\Scripts\activate && uv pip install -e .
# Install dependencies directly
uv pip install "httpx>=0.28.1" "mcp[cli]>=1.2.0"
The server supports two authentication methods:
# Package installation
fastn-mcp-server --api_key YOUR_API_KEY --space_id YOUR_WORKSPACE_ID
# Manual installation
uv run fastn-server.py --api_key YOUR_API_KEY --space_id YOUR_WORKSPACE_ID
# Package installation
fastn-mcp-server --space_id YOUR_WORKSPACE_ID --tenant_id YOUR_TENANT_ID --auth_token YOUR_AUTH_TOKEN
# Manual installation
uv run fastn-server.py --space_id YOUR_WORKSPACE_ID --tenant_id YOUR_TENANT_ID --auth_token YOUR_AUTH_TOKEN
Open the Claude configuration file:
notepad "%APPDATA%\Claude\claude_desktop_config.json"
or code "%APPDATA%\Claude\claude_desktop_config.json"
code ~/Library/Application\ Support/Claude/claude_desktop_config.json
Add the appropriate configuration:
{
"mcpServers": {
"fastn": {
"command": "/path/to/fastn-mcp-server",
"args": [
"--api_key",
"YOUR_API_KEY",
"--space_id",
"YOUR_WORKSPACE_ID"
]
}
}
}
Or with tenant authentication:
{
"mcpServers": {
"fastn": {
"command": "/path/to/fastn-mcp-server",
"args": [
"--space_id",
"YOUR_WORKSPACE_ID",
"--tenant_id",
"YOUR_TENANT_ID",
"--auth_token",
"YOUR_AUTH_TOKEN"
]
}
}
}
API Key authentication:
{
"mcpServers": {
"fastn": {
"command": "/path/to/your/uv",
"args": [
"--directory",
"/path/to/your/fastn-server",
"run",
"fastn-server.py",
"--api_key",
"YOUR_API_KEY",
"--space_id",
"YOUR_WORKSPACE_ID"
]
}
}
}
Tenant authentication:
{
"mcpServers": {
"fastn": {
"command": "/path/to/your/uv",
"args": [
"--directory",
"/path/to/your/fastn-server",
"run",
"fastn-server.py",
"--space_id",
"YOUR_WORKSPACE_ID",
"--tenant_id",
"YOUR_TENANT_ID",
"--auth_token",
"YOUR_AUTH_TOKEN"
]
}
}
}
API Key authentication:
/path/to/fastn-mcp-server --api_key YOUR_API_KEY --space_id YOUR_WORKSPACE_ID
Tenant authentication:
/path/to/fastn-mcp-server --space_id YOUR_WORKSPACE_ID --tenant_id YOUR_TENANT_ID --auth_token YOUR_AUTH_TOKEN
API Key authentication:
/path/to/your/uv --directory /path/to/your/fastn-server run fastn-server.py --api_key YOUR_API_KEY --space_id YOUR_WORKSPACE_ID
Tenant authentication:
/path/to/your/uv --directory /path/to/your/fastn-server run fastn-server.py --space_id YOUR_WORKSPACE_ID --tenant_id YOUR_TENANT_ID --auth_token YOUR_AUTH_TOKEN
If you encounter an error like this during installation:
ValueError: Unable to determine which files to ship inside the wheel using the following heuristics:
The most likely cause of this is that there is no directory that matches the name of your project (fastn).
Quick Fix:
pyproject.toml
has the wheel configuration:[tool.hatch.build.targets.wheel]
packages = ["."]
uv pip install "httpx>=0.28.1" "mcp[cli]>=1.2.0"
This project is licensed under the terms included in the LICENSE file.
Please log in to share your review and rating for this MCP.
{ "mcpServers": { "fastn": { "command": "fastn-mcp-server", "args": [ "--api_key", "<YOUR_API_KEY>", "--space_id", "<YOUR_SPACE_ID>" ] } } }
Explore related MCPs that share similar capabilities and solve comparable challenges
by zed-industries
A high‑performance, multiplayer code editor designed for speed and collaboration.
by modelcontextprotocol
Model Context Protocol Servers
by modelcontextprotocol
A Model Context Protocol server for Git repository interaction and automation.
by modelcontextprotocol
A Model Context Protocol server that provides time and timezone conversion capabilities.
by cline
An autonomous coding assistant that can create and edit files, execute terminal commands, and interact with a browser directly from your IDE, operating step‑by‑step with explicit user permission.
by continuedev
Enables faster shipping of code by integrating continuous AI agents across IDEs, terminals, and CI pipelines, offering chat, edit, autocomplete, and customizable agent workflows.
by upstash
Provides up-to-date, version‑specific library documentation and code examples directly inside LLM prompts, eliminating outdated information and hallucinated APIs.
by github
Connects AI tools directly to GitHub, enabling natural‑language interactions for repository browsing, issue and pull‑request management, CI/CD monitoring, code‑security analysis, and team collaboration.
by daytonaio
Provides a secure, elastic infrastructure that creates isolated sandboxes for running AI‑generated code with sub‑90 ms startup, unlimited persistence, and OCI/Docker compatibility.