Skip to content Products / Hosted MCPs
/ CodeProfiler MCP
MCP Available
Codebase profiling plans and bounded analysis jobs
CodeProfiler MCP detects a repository's languages and project markers, builds a profiling plan, and runs bounded read-only probes through the hosted catalog.
Best for
Engineering and platform teams that want repeatable profiling without giving agents an unrestricted shell.
Access and usage
Available through the hosted catalog for authenticated, entitled accounts. Calls count against the shared allowance on the account plan.
Compare usage plans
Why it exists
Detect a repository's stack, choose an appropriate profiling toolbox, and run bounded read-only probes in an isolated job.
Generic terminals, provider APIs, and custom prompts can cover parts of the work, but the caller must supply permission limits, output requirements, failure handling, and usage accounting.
Connection and contract
Connect from an MCP-aware client with an account-scoped Monarchic key. The hosted route checks access, runs the named product contract, and records the operation on the account receipt.
The product-specific schema defines the inputs and outputs used by clients and downstream automation.
Current limits
Assessment recommends measurements; it does not prove a bottleneck. Approved profiling jobs remain bounded and read-only, and their tool output remains untrusted.
Requires an authenticated, entitled account. Replace the example identifiers and supply source files from that revision. Assessment does not start an external profiler.
What you get
- Choose profiling tools from the repository's actual stack
- Separate quick inventory from deeper analysis jobs
- Return tool output and failures in one structured result
Core use case
Detect a repository's stack, choose an appropriate profiling toolbox, and run bounded read-only probes in an isolated job.
Outcomes
- Choose profiling tools from the detected project stack
- Keep expensive analysis out of lightweight discovery calls
- Return results and tool failures in one structured report
Primary workflows
Detect stack Build plan Run probes Review report
Request
“Assess this retained codebase and identify the measurements that fit the stated performance concern.”
Execution
Tool call payload {
"tool": "codeprofiler_hosted_assess_v1",
"arguments": {
"tenant": "your-workspace-id",
"project": "your-project-id",
"target": "your-repository-id",
"revision": "your-source-revision",
"files": [
{
"path": "src/index.ts",
"content": "export const ready = true;\n"
}
],
"symptoms": [
"Build latency increased after dependency changes"
],
"scenario": "Representative build and startup path",
"constraints": [
"Do not access production data"
],
"mode": "standard"
}
}
Inspects a bounded retained source snapshot, detects the stack, and returns a measurement plan before any profiler job is dispatched.
Output
Representative contract excerpt {
"status": "ready",
"inventory": {
"languages": [
"typescript"
]
},
"recommendedProfilers": [
{
"profiler": "scc",
"availableForBoundedRun": true
},
{
"profiler": "tokei",
"availableForBoundedRun": true
}
],
"confidence": 0.9
}
Usage rating
The completed assessment receives a measured receipt. Allowance quantities remain unpublished until the fully allocated rate card is frozen.
Top ↑