Pyright (daedalus)
БесплатноНе проверенExposes Pyright language server functionality for Python type checking, hover info, completions, and code navigation.
Описание
Exposes Pyright language server functionality for Python type checking, hover info, completions, and code navigation.
README
MCP server that exposes Pyright language server functionality
mcp-name: io.github.daedalus/mcp-pyright
Install
pip install mcp-pyright
Usage
The MCP server can be used with any MCP-compatible client. It exposes the following tools:
Type Checking
from mcp_pyright import mcp
# Run type checking
result = check_types(code="x: int = 'hello'")
Get Hover Information
# Get type information at position
result = get_hover(code="x: int = 1", position=0)
Get Completions
# Get code completions
result = get_completions(code="prin", position=4)
Get Definition
# Find definition location
result = get_definition(code="def foo(): pass\nfoo()", position=15)
Find References
# Find all references
result = find_references(code="x = 1\nx", position=5)
Get Document Symbols
# Get all symbols in document
result = get_document_symbols(code="class Foo: pass\ndef bar(): pass")
Format Code
# Format Python code
result = format_code(code="x=1\ny=2")
Development
git clone https://github.com/daedalus/mcp-pyright.git
cd mcp-pyright
pip install -e ".[test]"
# run tests
pytest
# format
ruff format src/ tests/
# lint
ruff check src/ tests/
# type check
mypy src/
License
MIT
Установка Pyright (daedalus)
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/daedalus/mcp-pyrightFAQ
Pyright (daedalus) MCP бесплатный?
Да, Pyright (daedalus) MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Pyright (daedalus)?
Нет, Pyright (daedalus) работает без API-ключей и переменных окружения.
Pyright (daedalus) — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Pyright (daedalus) в Claude Desktop, Claude Code или Cursor?
Открой Pyright (daedalus) на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
GitHub
PRs, issues, code search, CI status
автор: GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
автор: mcpdotdirectCompare Pyright (daedalus) with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории development
