Skip to main content

Scout LSP MCP — FastMCP + Rust/PyO3 (tasks, sessions, worktrees, blast_radius)

Project description

agent-lsp

Scout LSP MCP-сервер: FastMCP + Rust/PyO3 + обязательный task support.

Стек как в mcp-presentation.

Пакеты

Пакет Роль
agent-lsp FastMCP + TaskStore + scout tools + ScoutWorker
agent-lsp-state sessions / workspaces / container bindings
agent-lsp-git gix bare + worktree + clone
agent-lsp-docker bollard — контейнеры в сессии

Task support (обязательно)

import_project / ensure_runtime / install_workspace_deps / install_apt_packages / warm_indexTaskConfig(mode="required").

Клиент должен вызывать с task=True. Очередь — SQLite state/tasks.db, не Docket. Docs: docs/guide/tasks.md · docs/guide/workspace-deps.md · ADL: docs/adr/.

Happy path

create_session
  → import_project(source=<git|path>, task=True)
  → checkout_workspace
  → ensure_runtime(language, language_version="3.11", task=True)
  → install_apt_packages([...], task=True)          # optional, no allowlist
  → install_workspace_deps(packages=[...], task=True)  # venv / node_modules / go mod
  → warm_index(..., task=True)
  → blast_radius / explore_symbol   # python → site-packages
  → close_session

Runbooks

Doc When
docs/guide/runbook-solo.md Поднять agent-lsp самостоятельно
docs/guide/runbook-with-vmcp.md Поднять вместе с vmcp (GraphQL aliases)
docs/guide/workspace-deps-validation.md Зафиксированный validation-отчёт
infra/vmcp/ Пример registry.json + sidecar
./scripts/verify_runbook.sh solo
./scripts/verify_runbook.sh with-vmcp   # + checks vmcp source / optional :8765 health

Install (PyPI / uv)

Published on tags v* as agent-lsp-real-inspect-mcp (upstream already owns the PyPI name agent-lsp).

uvx agent-lsp-real-inspect-mcp
# or
uv tool install agent-lsp-real-inspect-mcp
agent-lsp

Cut a release: git tag -a v0.1.6 -m v0.1.6 && git push origin v0.1.6
Setup (Trusted Publisher + env pypi): docs/guide/pypi-release.md.

Coverage

Python ≠ Rust. Gate = медиана ≥ 93% (не среднее).

make cov-py
make cov-rust

Dev

uv sync --extra dev
maturin develop                              # TaskStore (core)
(cd packages/agent-lsp-state && maturin develop)
(cd packages/agent-lsp-git && maturin develop)
(cd packages/agent-lsp-docker && maturin develop)
pytest -q
make cov

LSP container images

Languages from agent_lsp.runtimes: go / python / typescript / rust / cpp (clangd + compile_commands.json for C/C++).

make docker-lsp
# or: (cd infra/docker/lsp && ./build.sh)

See infra/docker/lsp/README.md.

Runtime health

Dead Docker LSP containers are demoted to stale by agent-lsp-runtime-worker (ADR-0012); the hub also checks is_running before reuse so scout tools do not hit Broken pipe.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

agent_lsp_real_inspect_mcp-0.1.6.tar.gz (207.9 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

agent_lsp_real_inspect_mcp-0.1.6-cp312-cp312-win_amd64.whl (1.1 MB view details)

Uploaded CPython 3.12Windows x86-64

agent_lsp_real_inspect_mcp-0.1.6-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

agent_lsp_real_inspect_mcp-0.1.6-cp312-cp312-macosx_11_0_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.12macOS 11.0+ x86-64

agent_lsp_real_inspect_mcp-0.1.6-cp312-cp312-macosx_11_0_arm64.whl (1.2 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

File details

Details for the file agent_lsp_real_inspect_mcp-0.1.6.tar.gz.

File metadata

  • Download URL: agent_lsp_real_inspect_mcp-0.1.6.tar.gz
  • Upload date:
  • Size: 207.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.29 {"installer":{"name":"uv","version":"0.11.29","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for agent_lsp_real_inspect_mcp-0.1.6.tar.gz
Algorithm Hash digest
SHA256 978a3be94dd7df4cc1a924e428d23c4193e948e6a35c74ecabe93dd9acab1bfb
MD5 b1ba9ea005a8c2492a1ce58b3a6e111d
BLAKE2b-256 772ecd9647e261de7b5af1f9332b1746f768102584aca2417d296002a46f6c26

See more details on using hashes here.

File details

Details for the file agent_lsp_real_inspect_mcp-0.1.6-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: agent_lsp_real_inspect_mcp-0.1.6-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 1.1 MB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.29 {"installer":{"name":"uv","version":"0.11.29","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for agent_lsp_real_inspect_mcp-0.1.6-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 5650a1736d6e7dc86856e7379243a4167e731ffeaea9c0ea9097123ef35e8040
MD5 6760b67b9203198571c0a6e81f631db2
BLAKE2b-256 9ddd194e986af8f5866dcf0f3ba5f40862c546af156d5e96272fefcfbf1acff2

See more details on using hashes here.

File details

Details for the file agent_lsp_real_inspect_mcp-0.1.6-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

  • Download URL: agent_lsp_real_inspect_mcp-0.1.6-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
  • Upload date:
  • Size: 1.4 MB
  • Tags: CPython 3.12, manylinux: glibc 2.17+ x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.29 {"installer":{"name":"uv","version":"0.11.29","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for agent_lsp_real_inspect_mcp-0.1.6-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 198aaa8f2204544e70ce2d6025ffe4e50861c730f1102bd4b22fb1c8a4116eb3
MD5 63b570a3505ffeef54022dc483b39075
BLAKE2b-256 cd7a8fb84f95dd5db7c0c765d41cca8b128e6e7ca77b5eeb2acb23f837b00d30

See more details on using hashes here.

File details

Details for the file agent_lsp_real_inspect_mcp-0.1.6-cp312-cp312-macosx_11_0_x86_64.whl.

File metadata

  • Download URL: agent_lsp_real_inspect_mcp-0.1.6-cp312-cp312-macosx_11_0_x86_64.whl
  • Upload date:
  • Size: 1.3 MB
  • Tags: CPython 3.12, macOS 11.0+ x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.29 {"installer":{"name":"uv","version":"0.11.29","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for agent_lsp_real_inspect_mcp-0.1.6-cp312-cp312-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 01c776ebf6a625e6666e402329da0073979b074d20b4d292a837dca5f479e8da
MD5 5110a7c1ffe749c27b1df1627e45155f
BLAKE2b-256 8b28ac2447066611a6a369f850a268e27d5b856ccc714e520a6a8e911376cf7e

See more details on using hashes here.

File details

Details for the file agent_lsp_real_inspect_mcp-0.1.6-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

  • Download URL: agent_lsp_real_inspect_mcp-0.1.6-cp312-cp312-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 1.2 MB
  • Tags: CPython 3.12, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.29 {"installer":{"name":"uv","version":"0.11.29","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for agent_lsp_real_inspect_mcp-0.1.6-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 45db4bf7abcb3f35a25c2f915172a179d97d72c57cf0ed802c4243fbb9f37fd9
MD5 3894448c3f67aad9e1d8fdd1a6400130
BLAKE2b-256 73170b1b765279c3e384f51534e15080abf4ca589790de080c157d4c5e7a831a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page