Pre-release
This release is a pre-release and may not be stable for production use.
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
# 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)
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
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
Metadata
Release files for friday-framework-mcp 0.1.0a1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| friday_framework_mcp-0.1.0a1.tar.gz | 23.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| friday_framework_mcp-0.1.0a1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 51.7 kB
Release files / friday_framework_mcp-0.1.0a1.tar.gz
| Download URL | friday_framework_mcp-0.1.0a1.tar.gz |
|---|---|
| Size | 23.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
381611f6765e4a703ff4b10a7f8d12e4b0d1211c60c3081c2cf791c7bb378f88
|
|
BLAKE2b-256 checksum How to use checksums |
9d08d27895ec353ba2553ba3bca510b1249b520c7ad91eccffc39f43e24f652d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.10
|
Release files / friday_framework_mcp-0.1.0a1-py3-none-any.whl
| Download URL | friday_framework_mcp-0.1.0a1-py3-none-any.whl |
|---|---|
| Size | 28.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6f0261afec55c1f803873e993989b8d8403526576e28645469db9bbdafaddb27
|
|
BLAKE2b-256 checksum How to use checksums |
80647084a67d4385cedc10d1263e7ae93044321634f9de1d860ede29824dd61d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.10
|