• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

mongodb-js / mongodb-mcp-server / 17375658928

01 Sep 2025 11:01AM UTC coverage: 80.83% (-0.1%) from 80.945%
17375658928

Pull #498

github

web-flow
Merge ef7e1fecb into 4a544049c
Pull Request #498: feat: Adds Scaffolding for atlas-local tools MCP-155

893 of 1188 branches covered (75.17%)

Branch coverage included in aggregate %.

3 of 13 new or added lines in 3 files covered. (23.08%)

4538 of 5531 relevant lines covered (82.05%)

39.89 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

9.09
/src/tools/atlas-local/atlas-localTool.ts
1
import type { CallToolResult } from "@modelcontextprotocol/sdk/types.js";
2✔
2
import type { ToolArgs, ToolCategory } from "../tool.js";
NEW
3
import { ToolBase } from "../tool.js";
×
4

NEW
5
export abstract class AtlasToolBase extends ToolBase {
×
NEW
6
    public category: ToolCategory = "atlas-local";
×
7

NEW
8
    protected handleError(
×
NEW
9
        error: unknown,
×
NEW
10
        args: ToolArgs<typeof this.argsShape>
×
NEW
11
    ): Promise<CallToolResult> | CallToolResult {
×
12
        // Error Handling for expected atlas-local errors go here
13

14
        // For other types of errors, use the default error handling from the base class
NEW
15
        return super.handleError(error, args);
×
NEW
16
    }
×
NEW
17
}
×
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc