Model Context Protocol

    MCP Server Documentation

    Let AI agents read and manage your cap table programmatically using the open MCP standard.

    Quick Start

    1. Get an API Key

    Go to Settings → API Keys and generate a key prefixed with eqp_.

    2. Authenticate

    Pass your key as a Bearer token in the Authorization header.

    3. Call Tools

    Send MCP tool requests to the endpoint. All 29 tools are available.

    Endpoint

    https://equitypro.io/functions/v1/mcp

    This is an MCP Streamable HTTP endpoint. Use it with any MCP-compatible client.

    Authentication

    The server supports two authentication methods. API keys are recommended for AI agents.

    API Key (Recommended)

    Generate a key in Settings → API Keys. Keys are prefixed with eqp_ and are hashed before storage — the plaintext is shown only once.

    Authorization: Bearer eqp_your_api_key_here

    Supabase JWT

    Pass a valid Supabase access token if calling from a logged-in session.

    Authorization: Bearer eyJhbGciOi...

    Client Configuration

    Add this to your MCP client config (e.g. Claude Desktop, Cursor, or any MCP-compatible agent):

    {
      "mcpServers": {
        "equitypro": {
          "type": "streamable-http",
          "url": "https://equitypro.io/functions/v1/mcp",
          "headers": {
            "Authorization": "Bearer eqp_your_api_key_here"
          }
        }
      }
    }

    Example Request

    curl -X POST https://equitypro.io/functions/v1/mcp \
      -H "Content-Type: application/json" \
      -H "Accept: application/json, text/event-stream" \
      -H "Authorization: Bearer eqp_your_api_key_here" \
      -d '{
        "jsonrpc": "2.0",
        "id": 1,
        "method": "tools/call",
        "params": {
          "name": "list_companies",
          "arguments": {}
        }
      }'

    Available Tools (29)

    Companies

    READ
    list_companies
    READ
    get_company
    WRITE
    create_company

    Equity Holders

    READ
    list_equity_holders
    WRITE
    create_equity_holder
    WRITE
    update_equity_holder

    Equity Grants

    READ
    list_equity_grants
    WRITE
    create_equity_grant
    WRITE
    update_equity_grant

    SAFE Notes

    READ
    list_safe_notes
    WRITE
    create_safe_note

    Convertible Notes

    READ
    list_convertible_notes
    WRITE
    create_convertible_note

    Warrants

    READ
    list_warrants
    WRITE
    create_warrant

    Funding Rounds

    READ
    list_priced_rounds
    WRITE
    create_priced_round

    Equity Plans

    READ
    list_equity_plans
    WRITE
    create_equity_plan

    Valuations

    READ
    list_valuations
    WRITE
    create_valuation

    Other

    READ
    list_share_classes
    READ
    list_documents
    READ
    list_cap_table_snapshots
    READ
    list_company_investments
    READ
    list_exercise_events
    WRITE
    create_exercise_event
    READ
    list_audit_log
    READ
    get_cap_table_summary

    Security

    • All operations are scoped to the authenticated user via Row-Level Security.
    • API keys are SHA-256 hashed before storage — EquityPro never stores plaintext keys.
    • Keys can be revoked instantly from the Settings page.
    • Each API key usage updates last_used_at for auditing.

    Ready to get started?

    Create an API key and connect your favorite AI agent.