Example MCP server and client for the Connect API

Example MCP server and client for the Connect API

mcp-server-exploration•bymconflitti-pbc

A simple example project providing an MCP server and client that use the Connect API, along with code for registering Swagger-defined operations as chat tools.

License: Not specified•Runtime: Awaiting documentation review•Category: developer tools

WHAT IT DOES

  • •Provides an MCP server runnable with a Connect API key and a Swagger file.
  • •Includes an MCP client whose chat can be modified to ask different questions.
  • •Transforms an OpenAPI/Swagger document into operations that are mapped into tools and registered with chatlas.

BEST FOR

  • •Experimenting with a client and server MCP setup backed by the Connect API.
  • •Registering Swagger-described endpoints as callable tools for a chat model.

ABOUT MCP-SERVER-EXPLORATION

Example MCP server and client for the Connect API is cataloged as an MCP server attributed to mconflitti-pbc. A simple example project providing an MCP server and client that use the Connect API, along with code for registering Swagger-defined operations as chat tools. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for Example MCP server and client for the Connect API are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

What inputs are needed to run the MCP server?

The server is started with a Connect API key and a Swagger file provided as environment variables.

Can I change what the client asks?

Yes, the chat in the main function of `app.py` can be modified to ask different questions.

Upstream README

View this exact version on GitHub

README.md · 6b5e1b8ff32b · Fetched 2026-11-13 12:19:28 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

MCP

A simple example of a client and server using the Connect API.

Usage

Run an MCP server:

CONNECT_API_KEY="<your key>" SWAGGER_FILE="swagger.yaml" make server

Then run the MCP client:

make client

Modify the chat in the main function of app.py to ask different questions.

Swagger Usage

The code below is a snippet of how to register Swagger tools with Chatlas.

import chatlas
import requests
from openapi_mcp.chatlas import SwaggerTool
from openapi_mcp.connect_api import map_operations_to_tools
from openapi_mcp.swagger import (
    expand_all_references,
    transform_swagger_to_operation_dict,
)

api_url = "127.0.0.1:8000/"
openapi_dict = requests.get(f"{api_url}/swagger.json").json()

openapi_doc = expand_all_references(openapi_dict)
operations = transform_swagger_to_operation_dict(openapi_doc)
tools = map_operations_to_tools(operations)

aws_model = os.getenv("AWS_MODEL", "us.anthropic.claude-3-5-sonnet-20241022-v2:0")
aws_region = os.getenv("AWS_REGION", "us-east-1")
chat = chatlas.ChatBedrockAnthropic(model=aws_model, aws_region=aws_region)
for operation in api_operations.values():
    SwaggerTool.register_tool(
        chat,
        SwaggerTool(
            base_url=api_url,
            operation=operation,
        ),
    )

To see this in action, run a local OpenAPI-compatible server and run the Shiny application:

# Run the OpenAPI-compatible server
make ex-starwars
# Run Shiny
make shiny

Screenshot of Star Wars shiny app demo

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for Example MCP server and client for the Connect API from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/mcp-server-exploration)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

Downloads and pulls

Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

No reviewed package or image identity; download statistics are not listed yet.

Related developer tools MCP Servers

Alternative and complementary servers in the same category

View all in developer tools →
Postbye
postbye-mcp•postbye-team

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools
Singapore Proxy MCP
singapore-proxy-mcp•Xavierfok

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

0
Developer Tools

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools