coverage-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| coverage_checkA | 跑指定测试类并按类卡分支覆盖率,返回测试结果 / 覆盖率 / 未覆盖分支行。 Args: module_dir: 模块目录(含 pom.xml) tests: 测试类,逗号分隔(可带或不带 .java);给了 package 可留空 cover: 卡覆盖率的业务类,逗号分隔;空=ALL 汇总 min_branch: 最小分支覆盖率,支持 80 或 0.8 compile_first: True=含增量编译,保证测最新代码(默认);False=跳过编译,代码已编译时更快 reuse_forks: True=多测试类复用同一 fork JVM(默认,快得多);False=每类独立 JVM(严格隔离) package: 业务包(如 fanya/schedule);给了就自动收集该包全部测试类+业务类,tests/cover 可留空 |
| compile_projectA | 编译目标并返回每个 Maven 步骤的状态与日志路径,三级回退自动识别入参。 Args: project_name: 注册项目名(全名/短名,如 fanyajwproject-course-v2 或 course-v2), 或含 pom.xml 的目录路径(相对/绝对/嵌套/双层同名均可,相对优先)。 未注册的目录按 path 策略 clean+compile。 workspace_root: 工作区根目录;空则优先从当前目录或 coverage-mcp 父目录推导 strategy: 可选策略覆盖:default/top-level/shared-jar/rpc |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/ProgrammerDream/coverage-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server