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
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.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.

Release files for mcp-nav-shared 0.1.1

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.1.1
File Size Uploaded
mcp_nav_shared-0.1.1.tar.gz 28.4 kB Details

Built distribution (wheel)

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

Total release size: 60.6 kB

Release files / mcp_nav_shared-0.1.1.tar.gz

Download URL mcp_nav_shared-0.1.1.tar.gz
Size 28.4 kB
Tags Source
SHA-256 checksum
How to use checksums
32544d4612ec0de7697526a36d315457002983973fc33e75eae5abec1423ce63
BLAKE2b-256 checksum
How to use checksums
4f8859da9ffc2bf16a8051e6b6fc6d4d27854c7baa69e9bdbb0d2ac348634956
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.6

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

Download URL mcp_nav_shared-0.1.1-py3-none-any.whl
Size 32.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6067def1ba615c481b9630d67699014b94f432761e2bc117e25c43e8cd7c30e0
BLAKE2b-256 checksum
How to use checksums
d5676fcbbaeb6ab8da35e463e46e33f2a0f5bcc2b9dedb6b9658a651333f79ea
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.6

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

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