1. Conduid
  2. Commerce
  3. io.github.daedalus/mcp-pyright
MCP server · Commerce

io.github.daedalus/mcp-pyright

MCP server that exposes Pyright language server functionality

Unclaimed commerce
37Low

Scored 6 months ago · breakdown

About io.github.daedalus/mcp-pyright

io.github.daedalus/mcp-pyright is an MCP server in the Commerce category: mCP server that exposes Pyright language server functionality.

Install

uvx
uvx mcp-pyright
pip
pip install mcp-pyright

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about io.github.daedalus/mcp-pyright

Powered by Claude · Grounded in docs

I know everything about io.github.daedalus/mcp-pyright. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ✓README presentThe repository ships documentation.

5 checks have not been run yet.

README

mcp-pyright

MCP server that exposes Pyright language server functionality

PyPI Python Ruff

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

README copy captured when this server was indexed; it may lag the repository. The original is authoritative.

Questions

About io.github.daedalus/mcp-pyright

How do I install io.github.daedalus/mcp-pyright?

Run uvx mcp-pyright, then add the server to your MCP client's configuration.

Is io.github.daedalus/mcp-pyright safe to use with an AI agent?

Its trust score is 37 out of 100 (low). It passes 1 of the 1 static security checks run so far. It has no ConduID identity yet, so agent calls to it are not receipted.

Is io.github.daedalus/mcp-pyright still maintained?

Conduid hasn't recorded a commit date for this repository yet. Check the repository directly for recent activity.