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.

Пакет (один на PyPI)

Роль
agent-lsp-real-inspect-mcp FastMCP + TaskStore + state/git/docker natives + scout tools

Импорт: from agent_lsp._tasks import StateStore, GitService, DockerService, TaskStore.

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 --help
uvx agent-lsp-real-inspect-mcp==0.1.7
# or
uv tool install agent-lsp-real-inspect-mcp
agent-lsp --help

Cut a release: git tag -a v0.1.7 -m v0.1.7 && git push origin v0.1.7
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   # one extension: TaskStore + StateStore + GitService + DockerService
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.7.tar.gz (240.0 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.7-cp312-cp312-win_amd64.whl (5.5 MB view details)

Uploaded CPython 3.12Windows x86-64

agent_lsp_real_inspect_mcp-0.1.7-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.3 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

agent_lsp_real_inspect_mcp-0.1.7-cp312-cp312-macosx_11_0_x86_64.whl (5.8 MB view details)

Uploaded CPython 3.12macOS 11.0+ x86-64

agent_lsp_real_inspect_mcp-0.1.7-cp312-cp312-macosx_11_0_arm64.whl (5.7 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

File details

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

File metadata

  • Download URL: agent_lsp_real_inspect_mcp-0.1.7.tar.gz
  • Upload date:
  • Size: 240.0 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.7.tar.gz
Algorithm Hash digest
SHA256 4a9e33c6c69a27bc41d49c738254fb4cef9f85462cbd4db7d045ff9d457bbdf9
MD5 c55456ef78776edad5ae7a4ea7670c7e
BLAKE2b-256 027568d623d737fa7895edd05b2a31c09de9ce7dc2c9bb14b15bfaa3be0a0315

See more details on using hashes here.

File details

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

File metadata

  • Download URL: agent_lsp_real_inspect_mcp-0.1.7-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 5.5 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.7-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 580ddd36a299f1a928594124669089f3eff88f31b065b28044aa6cffcc788c4f
MD5 c2c28d1532ae21cdf5ea5efe1e92cb89
BLAKE2b-256 7073a6ee4236458f8e8cdadc80703f75cb040bfd8246bc245e513ffbc898e463

See more details on using hashes here.

File details

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

File metadata

  • Download URL: agent_lsp_real_inspect_mcp-0.1.7-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
  • Upload date:
  • Size: 6.3 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.7-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 39ebc8e77e9159002171aedcc112acc76893860fd4a8dd68cacba421f4301614
MD5 f2ec70211ff227eac6daef3f90bdf1e8
BLAKE2b-256 e7102352274c53753d454cf61de0a2fd3c0ba48005e3a5fd051fb40ff92aa7be

See more details on using hashes here.

File details

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

File metadata

  • Download URL: agent_lsp_real_inspect_mcp-0.1.7-cp312-cp312-macosx_11_0_x86_64.whl
  • Upload date:
  • Size: 5.8 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.7-cp312-cp312-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 86dd2de52df8e619f971fc7e13078dfa64b41cee0955c2526852108a08d96e1f
MD5 58acb2cafcdec6df5fdc55ef039efb65
BLAKE2b-256 0197e7490da1b56e798cfd3b6d7664ba51bb6fdcce17fb67d686eb632da467d9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: agent_lsp_real_inspect_mcp-0.1.7-cp312-cp312-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 5.7 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.7-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b44e1eb9cb43cd72ce276e727ffefd67c5435f4f6d7009d721bd3e2a4d327722
MD5 17bd0757745166c0cfa9be5316dd26d3
BLAKE2b-256 9609b438cd786a2a455dd83d8082bf281132db7eddfa6a272c84721f8e352969

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