Skip to main content

Add your description here

Project description

Acemcp

MCP server for codebase indexing and semantic search.

Installation

uv add mcp httpx fastapi "uvicorn[standard]" toml websockets
uv sync

Configuration

  1. Copy the example secrets file:
cp .secrets.toml.example .secrets.toml
  1. Edit .secrets.toml with your API credentials:
[default]
BASE_URL = "https://your-api-endpoint.com"
TOKEN = "your-bearer-token-here"
  1. (Optional) Customize settings.toml for other configurations.

MCP Configuration

Add the following to your MCP client configuration (e.g., Claude Desktop):

Basic Configuration

{
  "mcpServers": {
    "acemcp": {
      "command": "uvx",
      "args": [
        "acemcp"
      ]
    }
  }
}

Available command line arguments:

  • --base-url: Override BASE_URL configuration
  • --token: Override TOKEN configuration
  • --index-storage-path: Override INDEX_STORAGE_PATH configuration
  • --web-port: Enable web management interface on specified port (e.g., 8080)

Configuration with Web Management Interface

To enable the web management interface, add the --web-port argument:

{
  "mcpServers": {
    "acemcp": {
      "command": "uvx",
      "args": [
        "acemcp",
        "--web-port",
        "8888"
      ]
    }
  }
}

Then access the management interface at http://localhost:8888

Tools

index_code

Index a code project for semantic search.

Parameters:

  • project_id (string): Unique identifier for the project
  • project_root_path (string): Root path of the project to index

Example:

{
  "project_id": "my-project",
  "project_root_path": "/path/to/project"
}

search_context

Search for relevant code context based on a query.

Parameters:

  • project_id (string): Project identifier to search within
  • query (string): Search query string

Example:

{
  "project_id": "my-project",
  "query": "How is authentication implemented?"
}

Usage

  1. Start the MCP server (automatically started by MCP client)
  2. Use index_code to index your project
  3. Use search_context to search for code context

Data Storage

Indexed project data is stored in .acemcp_index/projects.json (configurable via INDEX_STORAGE_PATH).

Web Management Interface

The web management interface provides:

  • Real-time server status monitoring
  • Live log streaming via WebSocket
  • Configuration viewing (current settings)
  • Project statistics (number of indexed projects)

To enable the web interface, use the --web-port argument when starting the server.

Features:

  • Real-time log display with auto-scroll
  • Server status and metrics
  • Configuration overview
  • Responsive design with Tailwind CSS
  • No build step required (uses CDN resources)

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

acemcp-0.1.2.tar.gz (13.2 kB view details)

Uploaded Source

Built Distribution

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

acemcp-0.1.2-py3-none-any.whl (17.4 kB view details)

Uploaded Python 3

File details

Details for the file acemcp-0.1.2.tar.gz.

File metadata

  • Download URL: acemcp-0.1.2.tar.gz
  • Upload date:
  • Size: 13.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.0

File hashes

Hashes for acemcp-0.1.2.tar.gz
Algorithm Hash digest
SHA256 4988dd2c3faceb53d8a2924ae88ef1f74af0edbef91b3e2d41f76fa5024a0ba1
MD5 0eff98183290c2f20beeebb2137cb921
BLAKE2b-256 01b715a3ca5b8f2b6b16e20891b2095007dd94c9f9dd04e4ef0ebcd30c84a265

See more details on using hashes here.

File details

Details for the file acemcp-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: acemcp-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 17.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.0

File hashes

Hashes for acemcp-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1a6a4d1bfde4da3877d9c4cb53d366743f5f172c9a6f58efaacb69d148aad7a0
MD5 e36ebcc3b118bdbec991bc0dc53cd7e3
BLAKE2b-256 4cddf5f72d27245e8d682675145c0661a1c91d30764173b07e800627624c60fa

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