Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Schema
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| analyze_typing_needs | Analyze a Python file or project to determine typing needs |
| type_improvement_plan | Create a plan for improving type coverage in a project |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| Pyrefly Analysis Status | Current status and capabilities of the Pyrefly type analyzer |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| analyze_python_file | Analyze a Python file for missing type annotations |
| add_types_to_file | Add type annotations to a Python file using Pyrefly |
| type_check_file | Run type checking on a Python file using Pyrefly |
| get_project_context | Get project-wide type information for better type inference |