Mach5 One MCP Guide
Mach5 One exposes a Model Context Protocol (MCP) endpoint so AI agents can use the local Mach5 One server.
This page covers the local Mach5 One MCP endpoint. MCP workflows and Mach5 concepts exposed through MCP are common Mach5 capabilities unless documented as Mach5 One-specific runtime behavior.
Endpoint
Start Mach5 One:
mach5-one start
MCP endpoint:
http://localhost:8080/mcp
Use the configured server.http_port if you changed the HTTP port.
Client configuration
Example client configurations live in:
examples/agent-configs/
Use an MCP client that supports connecting to an HTTP MCP endpoint, and configure a server named mach5-one with the URL above.
Agent workflow
Agents should:
- Confirm the server is running with
/version.txt. - Connect to
/mcp. - Discover available tools, resources, and prompts.
- Ask before loading local files or accessing sensitive data.
- Prefer targeted queries over broad data dumps.
- Report reproducible runtime issues with logs and environment details.
Security model
Mach5 One runs on the user’s machine. Treat local files, loaded data, credentials, and query results as user-controlled data.
Agents must:
- Ask before loading local files.
- Avoid sending sensitive local data to unrelated services.
- Explain what data will be read or loaded.
- Follow the user’s security boundaries.
Troubleshooting MCP
If an MCP client cannot connect:
-
Confirm Mach5 One is running.
-
Confirm the MCP URL uses the configured HTTP port.
-
Check for port conflicts.
-
Check runtime logs.
-
Test the version endpoint:
curl http://localhost:8080/version.txt
Collect for issue reports:
- Mach5 One version
- MCP client name and version
- OS and architecture
- Client config with secrets removed
- Startup command
- Error message
- Runtime logs