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
- Copy the example secrets file:
cp .secrets.toml.example .secrets.toml
- Edit
.secrets.tomlwith your API credentials:
[default]
BASE_URL = "https://your-api-endpoint.com"
TOKEN = "your-bearer-token-here"
- (Optional) Customize
settings.tomlfor other configurations.
MCP Configuration
Add the following to your MCP client configuration (e.g., Claude Desktop):
Basic Configuration
{
"mcpServers": {
"acemcp": {
"command": "uv",
"args": [
"--directory",
"/path/to/acemcp",
"run",
"acemcp"
]
}
}
}
Replace /path/to/acemcp with the actual path to this project.
Configuration with Command Line Arguments
You can override configuration values using command line arguments:
{
"mcpServers": {
"acemcp": {
"command": "uvx",
"args": [
"acemcp",
"--web-port",
"8888"
]
}
}
}
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": "uv",
"args": [
"--directory",
"/path/to/acemcp",
"run",
"acemcp",
"--web-port",
"8080"
]
}
}
}
Then access the management interface at http://localhost:8080
Tools
index_code
Index a code project for semantic search.
Parameters:
project_id(string): Unique identifier for the projectproject_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 withinquery(string): Search query string
Example:
{
"project_id": "my-project",
"query": "How is authentication implemented?"
}
Usage
- Start the MCP server (automatically started by MCP client)
- Use
index_codeto index your project - Use
search_contextto 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
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 acemcp-0.1.1.tar.gz.
File metadata
- Download URL: acemcp-0.1.1.tar.gz
- Upload date:
- Size: 13.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c8411d49f20dae4ca1c00a912479761c0ba7c9a3065956817fafdbd53f94eef3
|
|
| MD5 |
fe6896d790a5ad383f13881a1b15b50d
|
|
| BLAKE2b-256 |
e6bdfe0a9dc0c525b5b0b1fffb98cd7d67e52e46eca637e97af900554095df10
|
File details
Details for the file acemcp-0.1.1-py3-none-any.whl.
File metadata
- Download URL: acemcp-0.1.1-py3-none-any.whl
- Upload date:
- Size: 17.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d6c7dbd8eff0b5c488defe2701ebb370ec30ed8d4da027f6ceb6ea1d21ba95a7
|
|
| MD5 |
0469348f049674206fa2e0d8c3f7bb39
|
|
| BLAKE2b-256 |
67ca25c6fd7747aa9767b4930913af565f154fc45ddd87c64b9a19165949b6e7
|