Factors.ai MCP server — agent management and execution tools
Project description
factors-mcp
Python package exposing a Model Context Protocol (MCP) server for Factors.ai — list/create/update agents, run agents against domains, and use bundled prompt guidelines.
Requirements
- Python 3.10+
- A Factors private API token (
FACTORS_API_KEY) with access to the Factors API (FACTORS_API_URL)
Client configuration (Claude Desktop & Cursor)
Both clients drive the server over stdio. Point them at the Python interpreter or console script from the same virtualenv where you installed factors-mcp, and pass your API credentials in env (do not commit real keys into shared project files).
Claude Desktop
- Quit Claude Desktop completely.
- Open the config file in a text editor:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
- macOS:
- Merge the
mcpServersentry below with any existingmcpServersobject (do not remove other servers).
{
"mcpServers": {
"factors-ai": {
"command": "python3",
"args": ["-m", "factors_mcp"],
"env": {
"FACTORS_API_KEY": "your_private_token"
}
}
}
}
Restart Claude Desktop after saving.
Cursor
- Create or edit an MCP config file (JSON):
- Project:
<repo-root>/.cursor/mcp.json(optional; share with the team without secrets) - User-wide:
~/.cursor/mcp.json(macOS/Linux) or%USERPROFILE%\.cursor\mcp.json(Windows)
- Project:
- Add a
mcpServersentry (merge with existing servers if the file already exists).
{
"mcpServers": {
"factors-ai": {
"command": "python3",
"args": ["-m", "factors_mcp"],
"env": {
"FACTORS_API_KEY": "your_private_token",
"FACTORS_API_URL": "https://api.factors.ai"
}
}
}
}
Fully restart Cursor after changing MCP configuration so it reloads the server list.
Tip: Use absolute paths to python or factors-mcp so the client does not pick up a different interpreter than the one where the package is installed.
Run the MCP server
1. After installing the package (recommended)
export FACTORS_API_KEY=your_private_token
# Default transport is stdio (typical for Cursor / Claude Desktop)
factors-mcp
Or:
python3 -m factors_mcp
License
Proprietary — Factors.ai internal use unless otherwise stated.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file factors_mcp-0.1.0.tar.gz.
File metadata
- Download URL: factors_mcp-0.1.0.tar.gz
- Upload date:
- Size: 8.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e5c44fd3ac9dd42cae382e1bc497d646c23c28bcaa3438dc99b7d35d165bf209
|
|
| MD5 |
ee6442689117a9ec3e7bfcf1f3b80009
|
|
| BLAKE2b-256 |
9fb48cb4d283cfdffc33c615f0113d6db4c1e14909c83520c9858360bceb84b0
|
File details
Details for the file factors_mcp-0.1.0-py3-none-any.whl.
File metadata
- Download URL: factors_mcp-0.1.0-py3-none-any.whl
- Upload date:
- Size: 9.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4a42d8605e5dbcb296973bc95b515795172c061a9b922cbd3e112554400d75a3
|
|
| MD5 |
948802c9b5105f79258992d0080bac54
|
|
| BLAKE2b-256 |
1a0d4480e7b8ccf3070d7b3e8bb4d150ad5cfdcc4f2d7bde02df67bd52c4a671
|