Anthropic MCP Connection Pipe

function

Anthropic pipe with MCP tools integration

445
2
2.5K
Created Mar 18, 2025
anthropic_mcp_connection_pipe.py
Python · 698 lines
"""
title: Anthropic MCP Connection Pipe
author: Velvo Elm
version: 1.1
license: MIT
requirements: pydantic>=2.0.0, aiohttp>=3.8.0, mcp>=0.1.0
environment_variables: 
    - ANTHROPIC_API_KEY (required)
    - MCP_SERVER_COMMAND (required for stdio MCP connection)
    - MCP_SERVER_ARGS (optional, comma-separated arguments for MCP server command)
    - MCP_SERVER_URL (optional, for future HTTP connection support)

Anthropic pipe with MCP tools integration


0