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

Developed in the SpaceMaker repository as a uv workspace member (mcp-servers/mcp-nav-shared). Design notes: docs/agent-tooling.md.

License

MIT. See LICENSE.

Release files for mcp-nav-shared 0.1.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.1.0
File Size Uploaded
mcp_nav_shared-0.1.0.tar.gz 27.8 kB Details

Built distribution (wheel)

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

Total release size: 60.0 kB

Release files / mcp_nav_shared-0.1.0.tar.gz

Download URL mcp_nav_shared-0.1.0.tar.gz
Size 27.8 kB
Tags Source
SHA-256 checksum
How to use checksums
9d29f7a4df0b4b97934b8b48100f47d7b4425f28246c27d67d864e4e58e6510b
BLAKE2b-256 checksum
How to use checksums
3c1c49a8a12411a73ca6e9e176af816df66844b5438109c1dd884f0753237fd7
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.0-py3-none-any.whl

Download URL mcp_nav_shared-0.1.0-py3-none-any.whl
Size 32.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fe47290e40e3d17ebd15a7d63414f6392a9a8792b2eef195defc2f0897d5fdeb
BLAKE2b-256 checksum
How to use checksums
6c1c2258ba4cbea6c450b3ebb8c0a4712f3d5c0fc47bef213e9ac213fabb366a
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

0.1.1

2 release files

This release

0.1.0 This release

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