Fastn Server is a powerful, scalable platform that enables dynamic tool registration and execution based on API definitions. It seamlessly integrates with AI assistants like Claude.ai and Cursor.ai, providing a unified server solution for accessing various services like Slack, Notion, HubSpot, and more. With its robust architecture, Fastn delivers exceptional performance and flexibility for real-time, API-driven operations.
Fastn Server provides a bridge between AI assistants and various external services and APIs. It allows your AI assistants to interact with platforms like Slack, Notion, HubSpot, and many more through a unified interface.
The easiest way to install Fastn Server is using pip:
pip install fastn-mcp-server
After installation, you can run the server with:
fastn-mcp-server --api_key YOUR_API_KEY --space_id YOUR_SPACE_ID
If you prefer to set up the server manually:
Clone the repository:
git clone https://github.com/fastnai/mcp-fastn
cd mcp-fastn
Install UV and dependencies:
macOS/Linux:
curl -LsSf https://astral.sh/uv/install.sh | sh
uv venv
source .venv/bin/activate
uv pip install -e .
Windows:
powershell -c "irm https://astral.sh/uv/install.ps1 | iex"
uv venv
.venv\Scripts\activate
uv pip install -e .
Run the server:
uv run fastn-server.py --api_key YOUR_API_KEY --space_id YOUR_SPACE_ID
Before using the server, you need to set up your Fastn account:
Open the Claude configuration file:
notepad "%APPDATA%\Claude\claude_desktop_config.json"
or use VS Codecode ~/Library/Application\ Support/Claude/claude_desktop_config.json
Add the appropriate configuration based on your installation method (see Installation JSON below)
If you encounter package structure errors during installation, try:
Make sure pyproject.toml
has the wheel configuration:
[tool.hatch.build.targets.wheel]
packages = ["."]
Install dependencies directly:
uv pip install "httpx>=0.28.1" "mcp[cli]>=1.2.0"
Run the server:
uv run fastn-server.py --api_key YOUR_API_KEY --space_id YOUR_SPACE_ID
For more help, visit: