Skip to main content
Glama
lolpack

MCP Pyrefly Autotype Server

by lolpack

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription
analyze_python_fileB

Analyze a Python file for missing type annotations

add_types_to_fileC

Add type annotations to a Python file using Pyrefly

type_check_fileC

Run type checking on a Python file using Pyrefly

get_project_contextC

Get project-wide type information for better type inference

Prompts

Interactive templates invoked by user choice

NameDescription
analyze_typing_needsAnalyze a Python file or project to determine typing needs
type_improvement_planCreate a plan for improving type coverage in a project

Resources

Contextual data attached and managed by the client

NameDescription
Pyrefly Analysis StatusCurrent status and capabilities of the Pyrefly type analyzer

TDQS

B3.3/5.0

Scored across 4 tools

Disambiguation5/5

Each tool has a clearly distinct purpose: adding types, analyzing for missing types, getting project context, and type checking. There is no overlap in functionality, and an agent can easily differentiate between them based on their specific actions.

Naming Consistency4/5

The tools follow a consistent verb_noun pattern (e.g., add_types_to_file, analyze_python_file), with all using snake_case. However, 'get_project_context' slightly deviates by using 'get' instead of a more action-oriented verb like 'analyze' or 'type', but overall the naming is predictable and readable.

Tool Count5/5

With 4 tools, the server is well-scoped for its purpose of Python type annotation and checking. Each tool serves a specific role in the workflow, from analysis to application and verification, making the count appropriate and efficient.

Completeness4/5

The tool set covers core workflows for type annotation: analysis, context gathering, type addition, and type checking. A minor gap exists in not having a tool to remove or update existing type annotations, but agents can work around this, and the surface is largely complete for the stated purpose.

Maintenance

ActivityInactive
ResponsivenessNo issues