Metadata-Version: 2.5
Name: mcp-concierge
Version: 0.2.0
Summary: Turns your MCP server URL into a setup page: step-by-step instructions for Claude, ChatGPT and more, kept up to date.
Project-URL: Homepage, https://github.com/fain182/mcp-concierge
Project-URL: Issues, https://github.com/fain182/mcp-concierge/issues
License-Expression: MIT
License-File: LICENSE
Keywords: asgi,chatgpt,claude,connector,mcp,model context protocol
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Internet :: WWW/HTTP :: HTTP Servers
Requires-Python: >=3.11
Description-Content-Type: text/markdown

# mcp-concierge

[![PyPI](https://img.shields.io/pypi/v/mcp-concierge)](https://pypi.org/project/mcp-concierge/)
[![License](https://img.shields.io/github/license/fain182/mcp-concierge)](https://github.com/fain182/mcp-concierge/blob/main/LICENSE)

Turns your MCP server URL into a setup page.

You share your MCP server's URL with someone. They open it in a browser, get a page that never finishes loading, and give up. With mcp-concierge they get step-by-step instructions to add the server to their assistant (Claude, ChatGPT, …) instead, and then a few example questions to try it.

<img src="https://raw.githubusercontent.com/fain182/mcp-concierge/main/docs/screenshot.png" alt="The setup page for an example server called Weather, with Claude selected and the first steps to add it" width="480">

## Why

- **Instructions that stay current.** Assistants change their menus often. The steps for each one live in this package, are checked on real accounts, and show the date of the last check.
- **One click for Claude.** The "Add to Claude" button opens Claude with your server's name and URL already filled in.
- **MCP clients are untouched.** Only a browser gets the page; everything else reaches your server as before.
- **No dependencies.** It wraps any ASGI app: the MCP Python SDK, FastMCP, Starlette.
- **Safe with secret URLs.** The page reads the address from the browser, so the server never writes it into the HTML, and it is marked `noindex`.

## Install

```
pip install mcp-concierge
```

## Usage

```python
from mcp.server.mcpserver import MCPServer
from mcp_concierge import SetupPage, with_setup_page

server = MCPServer("Weather")


@server.tool()
def forecast(city: str) -> str:
    return f"Sunny in {city}"


app = with_setup_page(
    server.streamable_http_app(),
    "/mcp",
    SetupPage("Weather", examples=["What's the weather in Rome tomorrow?"]),
)
```

`with_setup_page` takes any ASGI app serving the MCP endpoint at the given path. The examples are shown once the reader has added the server.

If your server asks users to sign in with OAuth, pass `SetupPage(..., oauth=True)`: the steps then tell them to choose OAuth and sign in instead of choosing no authentication.

## Try it

```
make install-dev
make run
```

Then open http://127.0.0.1:8765/mcp in a browser.

## Contributing instructions

If a step is wrong or out of date, the fix is a change to one file: each assistant's steps live in `mcp_concierge/clients/<client>.toml`, with the date they were last checked. Corrections and new assistants are welcome.

## How it tells a browser from an MCP client

The Streamable HTTP spec requires MCP clients to list `text/event-stream` in the `Accept` header of their GET requests. A GET to the MCP path without it gets the page; everything else goes to your app.

## Development

```
make install-dev
make test
```
