Skip to main content

mcp-nav-shared

Shared helpers for the codenav-mcp and webnav-mcp MCP servers. This package is not an MCP server itself. It's installed automatically as a dependency of both servers, so you don't need to install it yourself.

The API follows the servers' needs and may change between minor versions; the servers pin a compatible range.

What it provides

Module Role
mcp_nav_shared.lsp_client Async JSON-RPC/LSP subprocess client (LspClient): framing, request dispatch, document sync, file-change refresh, scratch documents, overlay() (show the server unsaved text to type-check an edit before writing it), rename / code-action / signature-help calls
mcp_nav_shared.resolve Name-based symbol resolution (resolve_symbol, dotted Class.method, ambiguity errors)
mcp_nav_shared.format Location headers (path:line:col), snippets, compact references, diagnostics and outline lists
mcp_nav_shared.workspace Workspace-root selection (WorkspaceSelector: env pin, client MCP roots in the same git repository, CLAUDE_PROJECT_DIR, working directory)
mcp_nav_shared.errors Tool-facing error text (missing file, timeout, LSP errors, …)
mcp_nav_shared.params name/query parameter aliases with a helpful hint when both are missing
mcp_nav_shared.notices Notices appended to tool results (e.g. a config change restarted the language server, or the server's own code changed since it started)
mcp_nav_shared.edits Write-side primitives: LSP TextEdit/WorkspaceEdit application (UTF-16 columns, CRLF, BOM), whole-file FileChanges, diffs, EditPlan
mcp_nav_shared.transaction WriteGuard (workspace/path/read-only rules), EditJournal (stale check, atomic apply with rollback, undo), PlanStore for previews
mcp_nav_shared.diagnostics_delta Before/after diagnostics comparison keyed on message + source line, so shifted lines don't look like new errors
mcp_nav_shared.exclude Directory names every scan skips (.git, node_modules, .venv, …)

Development

Source: github.com/illescasDaniel/mcp-nav-shared. Design notes: docs/agent-tooling.md.

License

MIT. See LICENSE.

Metadata

Release files for mcp-nav-shared 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mcp-nav-shared 0.2.0
File Size Uploaded Provenance Actions
mcp_nav_shared-0.2.0.tar.gz 37.9 kB Without provenance Details for mcp_nav_shared-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for mcp-nav-shared 0.2.0
File Interpreter ABI Platform Actions
mcp_nav_shared-0.2.0-py3-none-any.whl Python 3 none any Details for mcp_nav_shared-0.2.0-py3-none-any.whl

Total release size: 81.5 kB

Release files / mcp_nav_shared-0.2.0.tar.gz

Download URL mcp_nav_shared-0.2.0.tar.gz
Size 37.9 kB
Tags Source
SHA-256 checksum
How to use checksums
6821cd7edd13a07a7cc2a312ebe14a284305dcfaac5b5da6291350d6f6d3ed27
BLAKE2b-256 checksum
How to use checksums
965a1f19afa37ec36645a0caa49b2552959e13a61363d6172764ab58291bc16a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.13

Release files / mcp_nav_shared-0.2.0-py3-none-any.whl

Download URL mcp_nav_shared-0.2.0-py3-none-any.whl
Size 43.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cbda76b53b0de314ae7add947330ea3453ed70cd515c787bfc1402c486697160
BLAKE2b-256 checksum
How to use checksums
bc698b986f6857e65ac9ecef7591b2bc917a09bd43bac0474cadc5048092c152
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.13

Security for mcp-nav-shared 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page