FastMCP v2 πŸš€

by Sobroinc

314 downloads
Not rated
GitHub

About

FastMCP server containerized for deployment in Google Kubernetes Engine alongside enhanced-mcp-agent

Details

Author
Sobroinc
Downloads
314
Categories
Cloud Service

- Build tools, resources, and prompts with minimal boilerplate
- Client support for stdio, SSE, and in-memory transports
- Server composition and proxy servers for remote MCP servers
- Automatic generation of MCP servers from OpenAPI specs
- Built-in in-memory testing via FastMCPTransport
- Authentication and security features for production deployments

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name FastMCP v2 πŸš€
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Install with uv pip install fastmcp, then create a server instance with FastMCP("name") and decorate Python functions as tools, resources, or prompts. Run locally with fastmcp run server.py or mcp.run(). Use the Client class to connect to any MCP server programmatically via stdio, SSE, or in-memory transports.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "fastmcp v2 \ud83d\ude80": {
            "fast-mcp": {
                "command": "uv",
                "args": [
                    "pip",
                    "install",
                    "fastmcp"
                ]
            }
        }
    }
}

McpServers

{
    "fast-mcp": {
        "command": "uv",
        "args": [
            "pip",
            "install",
            "fastmcp"
        ]
    }
}

FastMCP v2 πŸš€

<strong>The fast, Pythonic way to build MCP servers and clients.</strong>

Docs
PyPI - Version
Tests
License

<a href="https://trendshift.io/repositories/13266" target="_blank">jlowin%2Ffastmcp | Trendshift</a>
</div>

> [!Note]
> #### Beyond the Protocol
>
> FastMCP is the standard framework for working with the Model Context Protocol. FastMCP 1.0 was incorporated into the official low-level Python SDK, and FastMCP 2.0 (this project) provides a complete toolkit for working with the MCP ecosystem.
>
> FastMCP has a comprehensive set of features that go far beyond the core MCP specification, all in service of providing the simplest path to production. These include client support, server composition, auth, automatic generation from OpenAPI specs, remote server proxying, built-in testing tools, integrations, and more.
>
> Ready to upgrade or get started? Follow the installation instructions, which include specific steps for upgrading from the official MCP SDK.

---

The Model Context Protocol (MCP) is a new, standardized way to provide context and tools to your LLMs, and FastMCP makes building MCP servers and clients simple and intuitive. Create tools, expose resources, define prompts, and connect components with clean, Pythonic code.

```python

No reviews yet β€” be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.