Skip to main content

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

  1. Quit Claude Desktop completely.
  2. Open the config file in a text editor:
    • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
    • Windows: %APPDATA%\Claude\claude_desktop_config.json
  3. Merge the mcpServers entry below with any existing mcpServers object (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

  1. 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)
  2. Add a mcpServers entry (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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

factors_mcp-0.1.1.tar.gz (8.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

factors_mcp-0.1.1-py3-none-any.whl (10.1 kB view details)

Uploaded Python 3

File details

Details for the file factors_mcp-0.1.1.tar.gz.

File metadata

  • Download URL: factors_mcp-0.1.1.tar.gz
  • Upload date:
  • Size: 8.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for factors_mcp-0.1.1.tar.gz
Algorithm Hash digest
SHA256 e19b23985b18f4c1d182527ef6e4600ba37daec03ead2d9897c5830bd0cd91a0
MD5 9cc263c70fd3fd9356ae22666e289c78
BLAKE2b-256 055478f172df04cb37b3814b4f5c47ef49d0e5d28e26f266cb531d512ef0b1a3

See more details on using hashes here.

File details

Details for the file factors_mcp-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: factors_mcp-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 10.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for factors_mcp-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 99487db86d7f2c84318f84a198f0ccee6aa6cf0ed1e1515a27e5293911636d10
MD5 ab6389535199de6d961333cf5e67d2a2
BLAKE2b-256 510eaa15f7fc3fe64c01cdddd9bee50d133f50132ff72ee4b1360339e5aee44c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page