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

mongodb-js / mongodb-mcp-server / 20275512293

16 Dec 2025 04:38PM UTC coverage: 80.087% (-0.002%) from 80.089%
20275512293

Pull #800

github

web-flow
Merge 6faa450ad into cced0c7fe
Pull Request #800: chore: support schema overrides and custom parserOptions MCP-338

1461 of 1907 branches covered (76.61%)

Branch coverage included in aggregate %.

38 of 45 new or added lines in 4 files covered. (84.44%)

6683 of 8262 relevant lines covered (80.89%)

78.8 hits per line

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

73.91
/src/lib.ts
1
export { Server, type ServerOptions } from "./server.js";
1!
2
export { Session, type SessionOptions } from "./common/session.js";
1✔
3
export { type UserConfig, UserConfigSchema } from "./common/config/userConfig.js";
1✔
4
export { parseUserConfig, defaultParserOptions, type ParserOptions } from "./common/config/parseUserConfig.js";
1✔
5

6
import { parseUserConfig } from "./common/config/parseUserConfig.js";
1✔
7
import type { UserConfig } from "./common/config/userConfig.js";
8

9
/** @deprecated Use `parseUserConfig` instead. */
10
export function parseArgsWithCliOptions(cliArguments: string[]): {
1✔
11
    warnings: string[];
12
    parsed: UserConfig | undefined;
13
    error: string | undefined;
NEW
14
} {
×
NEW
15
    return parseUserConfig({
×
NEW
16
        args: cliArguments,
×
NEW
17
    });
×
NEW
18
}
×
19

20
export { LoggerBase, type LogPayload, type LoggerType, type LogLevel } from "./common/logger.js";
1✔
21
export { StreamableHttpRunner } from "./transports/streamableHttp.js";
1✔
22
export { StdioRunner } from "./transports/stdio.js";
1✔
23
export { TransportRunnerBase, type TransportRunnerConfig } from "./transports/base.js";
1✔
24
export {
1✔
25
    ConnectionManager,
26
    ConnectionStateConnected,
27
    createMCPConnectionManager,
28
    type AnyConnectionState,
29
    type ConnectionState,
30
    type ConnectionStateDisconnected,
31
    type ConnectionStateErrored,
32
    type ConnectionManagerFactoryFn,
33
} from "./common/connectionManager.js";
34
export {
1✔
35
    connectionErrorHandler,
36
    type ConnectionErrorHandler,
37
    type ConnectionErrorHandled,
38
    type ConnectionErrorUnhandled,
39
    type ConnectionErrorHandlerContext,
40
} from "./common/connectionErrorHandler.js";
41
export { ErrorCodes, MongoDBError } from "./common/errors.js";
1✔
42
export { Telemetry } from "./telemetry/telemetry.js";
1✔
43
export { Keychain, registerGlobalSecretToRedact } from "./common/keychain.js";
1✔
44
export type { Secret } from "./common/keychain.js";
45
export { Elicitation } from "./elicitation.js";
1✔
46
export { applyConfigOverrides } from "./common/config/configOverrides.js";
1✔
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