← Back to Code

ExecuFunction MCP Server

Connect your IDE's AI assistant to ExecuFunction for task management, code search, and more.

What is MCP?

Model Context Protocol (MCP) is an open standard that connects AI assistants to external tools and data sources. ExecuFunction provides an MCP server that gives your IDE's AI assistant direct access to your tasks, projects, calendar, knowledge base, and code.

Why use MCP with ExecuFunction?

The MCP server runs locally on your machine. This is critical for code indexing—the web app cannot read your local files, but the MCP server can.

Quick Start

  1. Generate a PAT in ExecuFunction (Code tab → MCP Setup → Create token)
  2. Configure your MCP client with EXF_API_URL and EXF_PAT
  3. Restart the client
  4. Use MCP tools like codebase_register, codebase_index, and codebase_search

Client Configuration

Claude Desktop (macOS)

Edit ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "execufunction": {
      "command": "npx",
      "args": ["@execufunction/mcp-server"],
      "env": {
        "EXF_API_URL": "https://api.execufunction.com",
        "EXF_PAT": "exf_pat_your_token_here"
      }
    }
  }
}

Cursor / Windsurf

Add to MCP settings:

{
  "execufunction": {
    "command": "npx",
    "args": ["@execufunction/mcp-server"],
    "env": {
      "EXF_API_URL": "https://api.execufunction.com",
      "EXF_PAT": "exf_pat_your_token_here"
    }
  }
}

Claude Code (CLI)

claude mcp add execufunction \
  --command "npx" \
  --args "@execufunction/mcp-server" \
  --env EXF_API_URL=https://api.execufunction.com \
  --env EXF_PAT=exf_pat_your_token_here

Available Tools

ToolDescription
project_listList all projects
project_get_contextGet full project context
task_listList tasks
task_createCreate a new task
task_completeMark task complete
note_searchSearch knowledge base
note_createCreate a note
calendar_list_eventsList calendar events
people_searchSearch contacts
codebase_listList indexed repos
codebase_registerRegister a repo
codebase_indexIndex/re-index a repo
codebase_searchSemantic code search

Code Indexing

The MCP server reads local files and uploads them to ExecuFunction for embedding. Embeddings are generated automatically in the background.

Register and Index

codebase_register {
  "name": "my-project",
  "rootPath": "/Users/me/projects/my-project",
  "autoIndex": true
}

Search Code

codebase_search {
  "query": "authentication middleware",
  "limit": 5
}

Authentication

PATs (Personal Access Tokens) are required for MCP access.

← Back to Code