Agent Lsp vs Mongodb MCP Server
A side-by-side look at the Agent Lsp and Mongodb MCP Server MCP servers: transport, auth, tools, quality signals, and the config to install either one in Claude, Cursor, Windsurf or VS Code.
Verdict: choose Agent Lsp for databases work as a local process; choose Mongodb MCP Server for databases as a local process. You can also run both side by side in one mcpServers block.
Which MCP server should you choose?
Choose Agent Lsp when
- You need dedicated capabilities in the Databases domain.
- You prefer a local stdio subprocess transport.
- Its auth model fits you: No auth required.
- You have the keys it needs:
AGENT_LSP_OUTPUT_FORMAT. - You want tools like
activate_skill, add_workspace_folder, apply_edit.
Choose Mongodb MCP Server when
- You need dedicated capabilities in the Databases domain.
- You prefer a local stdio subprocess transport.
- You have the keys it needs:
MDB_MCP_CONNECTION_STRING. - You want tools like
aggregate, aggregate-db, collection-indexes.
Feature & specification comparison
Rows where the two servers differ are marked.
| Spec | ||
|---|---|---|
| Category | Databases | Databases |
| Quality signal | 65/100 · Great | 65/100 · Great |
| Install command | Confirmed | Confirmed |
| Transport | Local subprocess (stdio) | Local subprocess (stdio) |
| Auth | No auth required | Not declared |
| Pricing | Free | Not declared |
| Required env vars | AGENT_LSP_OUTPUT_FORMAT | MDB_MCP_CONNECTION_STRING |
| Verified owner | Community listing | Community listing |
| GitHub stars | 163 | 1,150 |
| Directory activity | 10 views 0 installs 0 upvotes | 1 views 0 installs 0 upvotes |
| Tools | 65 | 53 |
| Full listing | View Agent Lsp | View Mongodb MCP Server |
Tools & capabilities
Agent Lsp tools 65
activate_skillActivate phase enforcement for a skill workflow. Once active, tool calls are checked against the skill's phase permissions. Phases advance automatically as you call tools from later phases. Use this at the start of a skill workflow to enable safety guardrails that prevent out-of-order operations (e.g., applying edits before completing blast-radius analysis).add_workspace_folderAdd a directory to the LSP workspace, enabling cross-repo references, definitions, and diagnostics. Useful when working across a library and its consumers — after adding the consumer repo, find_references on a library function returns call sites in both repos. Requires start_lsp to have been called first. Language servers that support multi-root workspaces (gopls, rust-analyzer, typescript-language-server) will re-index the new folder automatically.apply_editApply an edit to a file. Two modes: (1) WorkspaceEdit mode: pass workspace_edit with positional changes returned by rename_symbol or format_document; (2) Text-match mode: pass file_path + old_text + new_text to find and replace text. For full function/method body replacements, consider replace_symbol_body which resolves by symbol name instead of text matching. Always call preview_edit first to verify the edit is safe.blast_radiusEnumerate all exported symbols in the specified files, resolve their references across the workspace, and partition callers into test vs non-test. Returns affected_symbols (name, file, line), test_callers (with enclosing test function names), and non_test_callers. Use before editing a file to understand blast radius. Set include_transitive=true to surface second-order callers (callers of callers). Set scope='all' to include unexported symbols for comprehensive dead code detection.callersFind all incoming callers of a function or method. Shortcut for find_callers with direction='incoming'. Use before deleting or refactoring a function to see who depends on it.close_documentClose a file in the LSP server. Use this tool when you're done with a file to free up resources and reduce memory usage. It's good practice to close files that are no longer being actively analyzed, especially in long-running sessions or when working with large codebases.commit_sessionCommit a simulation session. With apply=true, writes changes to disk and notifies LSP servers. With apply=false, returns a unified diff patch. Use after evaluate_session confirms the changes are safe.create_simulation_sessionCreate a new speculative code session for simulating edits without committing to disk. Returns a session ID. Baseline diagnostics are captured lazily on first edit per file. Use this to explore what-if scenarios before applying changes.deactivate_skillDeactivate phase enforcement for the currently active skill. Tool calls will no longer be checked against phase permissions. Call this when the skill workflow is complete or when you need to exit the workflow early.destroy_sessionDestroy a simulation session and release all resources. Call this after commit or discard to clean up. Sessions in terminal states (committed, discarded, destroyed) cannot be reused.detect_changesRun git diff to identify changed files, analyze their exported symbols via blast_radius, and return affected symbols with risk classification. Risk levels: 'high' (callers from multiple packages), 'medium' (callers from same package only), 'low' (zero non-test callers). Use before committing to understand the blast radius of uncommitted or recently committed changes.detect_lsp_serversScan a workspace directory for source languages and check PATH for the corresponding LSP server binaries. Returns detected workspace languages (ranked by prevalence), installed servers with their paths, and a suggested_config array ready to paste into the agent-lsp MCP server args. Use this to set up agent-lsp for a new project or verify your configuration.- +53 more on the listing page
Mongodb MCP Server tools 53
aggregateRun an aggregation against a MongoDB collectionaggregate-dbRun an aggregation against a MongoDB databasecollection-indexesDescribe the indexes for a collectioncollection-schemaDescribe the schema for a collectioncollection-storage-sizeGets the size of the collectionconnectConnect to a MongoDB instancecountGets the number of documents in a MongoDB collection using db.collection.count() and query as an optional filter parametercreate-collectionCreates a new collection in a database. If the database doesn't exist, it will be created automatically.create-indexCreate an index for a collectiondb-statsReturns statistics that reflect the use state of a single databasedelete-manyRemoves all documents that match the filter from a MongoDB collectiondisconnectClose a MongoDB connection and revoke its connectionId.- +41 more on the listing page
Ready-to-paste client configs
Paste either block (or both) into your client config, e.g. claude_desktop_config.json or ~/.cursor/mcp.json. We only show a config when the install command is confirmed.
Agent Lsp
{
"mcpServers": {
"blackwell-systems-agent-lsp": {
"command": "uvx",
"args": [
"agent-lsp"
],
"env": {
"AGENT_LSP_OUTPUT_FORMAT": "YOUR_AGENT_LSP_OUTPUT_FORMAT_HERE"
}
}
}
}
Mongodb MCP Server
{
"mcpServers": {
"mongodb-mcp-server": {
"command": "npx",
"args": [
"-y",
"mongodb-mcp-server@latest"
],
"env": {
"MDB_MCP_CONNECTION_STRING": "YOUR_MDB_MCP_CONNECTION_STRING_HERE"
}
}
}
}
Frequently asked questions
Agent Lsp is categorized under Databases and uses a local stdio subprocess. Mongodb MCP Server belongs to Databases and uses a local stdio subprocess. Pick Agent Lsp for databases work and Mongodb MCP Server for databases.
Copy the mcpServers block from the config section on this page into your client's config (for example claude_desktop_config.json or ~/.cursor/mcp.json), then fully restart the client.
Agent Lsp is listed as free. Auth: no auth required. Mongodb MCP Server has no declared pricing — check the project's own site. If a server needs environment variables such as API keys, define them under the env key in your client's MCP config.
Yes. MCP clients support multiple servers: add blackwell-systems-agent-lsp and mongodb-mcp-server as separate keys in the same mcpServers object, and your assistant will call tools from either one.
On AllMCPs, Agent Lsp has a quality signal of 65/100 (Great) with 10 views, 0 installs and 163 GitHub stars. Mongodb MCP Server has 65/100 (Great) with 1 views, 0 installs and 1,150 GitHub stars.