drio
Open app

MCP

Source

Catalog onlyCatalog onlySTDIO

Overview

MCP is a simple example of a client and server using the Connect API, designed to facilitate communication between different applications.

To use MCP, run the MCP server with your Connect API key and a Swagger file, then run the MCP client. You can modify the chat in the main function of app.py to ask different questions.

  • Easy setup for client-server communication using Connect API - Integration with Swagger for API documentation - Ability to customize chat interactions through code modifications
  1. Building applications that require real-time communication between client and server.
  2. Testing and demonstrating API functionalities using Swagger.
  3. Developing interactive applications with customizable chat features.

Add to your AI client

Use these steps to connect MCP in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "mcp-server-exploration-mconflitti-pbc": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-server-exploration-mconflitti-pbc"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "mcp-server-exploration-mconflitti-pbc": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-server-exploration-mconflitti-pbc"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "mcp-server-exploration-mconflitti-pbc": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-server-exploration-mconflitti-pbc"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "mcp-server-exploration-mconflitti-pbc": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-server-exploration-mconflitti-pbc"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "mcp-server-exploration-mconflitti-pbc": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-server-exploration-mconflitti-pbc"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "mcp-server-exploration-mconflitti-pbc": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-server-exploration-mconflitti-pbc"
      ]
    }
  }
}

FAQ

What is the Connect API?

The Connect API is a framework that allows different applications to communicate with each other seamlessly.

How do I run the MCP server?

You can run the MCP server by executing the command: `CONNECT_API_KEY="<your key>" SWAGGER_FILE="swagger.yaml" make server`.

Can I modify the chat interactions?

Yes! You can modify the chat in the main function of `app.py` to customize the questions and responses.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":1077,"uuid":"3bfbeb2a-c0e4-41d5-88e8-b749207b774b","name":"mcp-server-exploration","title":"MCP","description":null,"avatar_url":"https://avatars.githubusercontent.com/u/189644927?v=4","created_at":"2025-01-28T02:29:45.613Z","updated_at":"2025-02-23T07:20:07.715Z","status":"created","author_name":"mconflitti-pbc","author_avatar_url":"https://avatars.githubusercontent.com/u/189644927?v=4","tags":"mcp,connect-api,client-server","category":"developer-tools","is_featured":false,"sort":1,"url":"https://github.com/mconflitti-pbc/mcp-server-exploration","target":"_self","content":"$29","summary":"$2a","img_url":"https://github.com/mconflitti-pbc/mcp-server-exploration/raw/main/shiny/demo.png","type":null,"metadata":null,"user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]