Skip to main content
Glama

pyfmcp

A focused Model Context Protocol server for running Python project checks through pytest, Ruff, and basedpyright.

Requirements

  • Python 3.12+

  • An MCP-compatible client

  • uv (recommended) or another Python package installer

Related MCP server: mcp-server-analyzer

Install and run

Run it from the project you want to inspect:

uv run pyfmcp

The default transport is stdio. For HTTP, configure transport=http and set host and port as needed. Process settings can be supplied as CLI options or with PYFMCP_* environment variables. The current directory is the default project root; use root_dir to select another project.

Settings

Create pyfmcp.yml in the project root to configure checks. It is re-read for each tool invocation:

tools:
  pytest:
    test_args: [-q]
  ruff_lint:
    max_diagnostics: 100
  basedpyright:
    max_diagnostics: 100

Missing settings files use tool defaults. Invalid YAML or values produce a configuration error. See the configuration guide for all process and tool settings.

Development

uv sync --all-groups
uv run pytest
uv run ruff check .
uv run basedpyright

Build the documentation with uv run mkdocs serve.

Contributions are welcome. Please open an issue or pull request with a focused change, tests where appropriate, and documentation for user-visible behavior.

License

MIT

Install Server
A
license - permissive license
B
quality
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    A
    quality
    C
    maintenance
    An MCP server that exposes Pyright language server functionality for Python, providing tools for type checking, code completions, and finding definitions. It enables AI models to perform static analysis and code formatting through the Model Context Protocol.
    Last updated
    7
    MIT
  • A
    license
    B
    quality
    D
    maintenance
    An MCP server that integrates Ruff linting, formatting, and code analysis tools with advanced logging and configuration options for AI coding assistants.
    Last updated
    4
    1
    MIT
  • A
    license
    -
    quality
    B
    maintenance
    Enables building lightweight MCP servers where Rust handles transport, routing, and schema validation while Python defines tool behavior using type hints, with support for stdio and HTTP transports.
    Last updated
    MIT

View all related MCP servers

Related MCP Connectors

  • Scans MCP servers for tool poisoning, prompt injection and supply chain risks.

  • MCP server for generating rough-draft project plans from natural-language prompts.

  • A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/pzarczynski/pyfmcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server