Metadata-Version: 2.4
Name: friday-framework-mcp
Version: 0.1.0a0
Summary: MCP (Model Context Protocol) integration for Friday Framework
Project-URL: Homepage, https://github.com/CIChuck/agent-framework
Project-URL: Repository, https://github.com/CIChuck/agent-framework
Project-URL: Issues, https://github.com/CIChuck/agent-framework/issues
Project-URL: Documentation, https://github.com/CIChuck/agent-framework/tree/main/docs
Project-URL: Source, https://github.com/CIChuck/agent-framework/tree/main/packages/friday-mcp
Author: Friday Team
License-Expression: MIT
Keywords: agents,ai,llm,mcp,model-context-protocol
Requires-Python: >=3.10
Requires-Dist: friday-framework-core==0.1.0a0
Requires-Dist: httpx>=0.25.0
Requires-Dist: pydantic>=2.0.0
Provides-Extra: dev
Requires-Dist: pytest-asyncio>=0.23.0; extra == 'dev'
Requires-Dist: pytest-mock>=3.10.0; extra == 'dev'
Requires-Dist: pytest>=8.0.0; extra == 'dev'
Provides-Extra: full
Requires-Dist: fastapi>=0.100.0; extra == 'full'
Requires-Dist: friday-framework-agent==0.1.0a0; extra == 'full'
Requires-Dist: friday-framework-tools==0.1.0a0; extra == 'full'
Requires-Dist: uvicorn>=0.23.0; extra == 'full'
Provides-Extra: server
Requires-Dist: fastapi>=0.100.0; extra == 'server'
Requires-Dist: uvicorn>=0.23.0; extra == 'server'
Description-Content-Type: text/markdown

# Friday Framework MCP

MCP (Model Context Protocol) integration for the Friday Framework.

## Features

- **MCP Client**: Connect to external MCP servers and consume their tools
- **MCP Server**: Expose Friday capabilities (agent or tools) via MCP
- **Transport Support**: Both stdio (subprocess) and SSE (HTTP streaming)
- **Tool Adaptation**: Seamlessly adapt MCP tools to Friday's ToolDefinition protocol

## Installation

```bash
# Core package
pip install friday-framework-mcp

# With SSE server support
pip install friday-framework-mcp[server]

# Full integration with Friday
pip install friday-framework-mcp[full]
```

## Quick Start

### Connecting to MCP Servers (Client)

```python
from friday_mcp import MCPClientManager, MCPConfig, MCPServerConfig

config = MCPConfig(
    servers=[
        MCPServerConfig(
            name="filesystem",
            command="npx",
            args=["-y", "@modelcontextprotocol/server-filesystem", "/tmp"]
        )
    ]
)

async with MCPClientManager(config) as manager:
    tools = await manager.get_all_tools()
    # Use tools with Friday's agent
```

### Exposing Friday as MCP Server

```python
from friday_mcp import StdioMCPServer, MCPServerSettings
from friday_mcp.server.agent_mode import configure_agent_mode

server = StdioMCPServer()
configure_agent_mode(server, agent, profile, MCPServerSettings())
await server.start()
```

## License

MIT
