MCP server exposing read-only LSP navigation tools for Codex
Project description
codex-lsp-mcp
codex-lsp-mcp is a local MCP stdio server that exposes read-only LSP navigation tools to Codex.
First supported backend: clangd.
Local development
uv run pytest
uvx --from . codex-lsp-mcp
Codex configuration
codex mcp add codex-lsp-mcp -- uvx --from git+https://github.com/SunJun8/codex-lsp-mcp.git@v0.1.0 codex-lsp-mcp
Check registration:
codex mcp get codex-lsp-mcp
If clangd is not on Codex's PATH, set:
[mcp_servers.codex-lsp-mcp.env]
CLANGD_BIN = "/path/to/clangd"
The server discovers the closest compile_commands.json from the queried file path.
Tool coordinates follow the LSP convention: zero-based line and character.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file codex_lsp_mcp-0.1.0.tar.gz.
File metadata
- Download URL: codex_lsp_mcp-0.1.0.tar.gz
- Upload date:
- Size: 14.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
812756b044fb24a77ad39b70b43f1b895c898bfdfe9e80c31d0b1e6894a0fecb
|
|
| MD5 |
4d3f582e5312eba45330bca951178e12
|
|
| BLAKE2b-256 |
ad3151ca26b9741939c297032b13e0605f7cdf8f0e7875e52acf6773d5c71a9f
|
File details
Details for the file codex_lsp_mcp-0.1.0-py3-none-any.whl.
File metadata
- Download URL: codex_lsp_mcp-0.1.0-py3-none-any.whl
- Upload date:
- Size: 11.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c02bf0131d9d4e4188b2d124b10ed9a15524e5cc26897e255950a4be868a4b17
|
|
| MD5 |
30fab3b33669c7e4b92dc3739f5eaa5d
|
|
| BLAKE2b-256 |
63c834a28ae679aed0021e0027b4ca0feb6c4797f18d297ddd570562c9b31252
|