pico-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@pico-mcplook up order 12345 and flag anything unusual"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
pico-mcp
Expose pico-ioc components as Model Context Protocol servers: @tool, @resource and @prompt on component methods, served by the official mcp SDK.
Installation
pip install pico-mcpAuto-discovered by pico-boot; with plain pico-ioc add "pico_mcp" to init(modules=[...]).
Related MCP server: Hermes Kernel MCP Server
Quick start
from mcp.server.mcpserver import MCPServer
from pico_boot import init
from pico_ioc import component
from pico_mcp import prompt, resource, tool
@component
class Orders:
def __init__(self, repo: OrderRepository):
self.repo = repo
@tool(description="Look up an order by id", read_only=True)
def get_order(self, order_id: str) -> Order:
return self.repo.get(order_id)
@tool(destructive=True)
def cancel_order(self, order_id: str) -> None:
self.repo.cancel(order_id)
@resource("orders://{order_id}")
def order_text(self, order_id: str) -> str:
return self.repo.get(order_id).summary()
@prompt()
def review(self, order_id: str) -> str:
"""Ask the model to review an order."""
return f"Review order {order_id} and flag anything unusual."
server = init(modules=["orders"]).get(MCPServer)
server.run() # stdio: Claude Code, Claude Desktop, Cursor
# server.run(transport="streamable-http") # http://127.0.0.1:8000/mcpThe input schema comes from the method signature (minus self), the description from the docstring or description=. Every call resolves the component through the container, so constructor injection, scopes and @intercepted_by interceptors apply as for any other caller. Two components declaring the same tool, resource or prompt name fail at startup instead of shadowing each other.
read_only, destructive, idempotent and open_world become the standard MCP tool annotations (readOnlyHint, destructiveHint...). Clients use them to decide what to confirm with the user, and an approval gateway such as pico-tool-gateway can route by them: read-only calls pass, destructive ones wait for a human. A tool without flags says nothing, which the MCP spec reads as possibly destructive.
Name the server with config:
mcp:
name: orders
instructions: Call get_order before answering questions about an order.Documentation
Full documentation: https://dperezcabrera.github.io/pico-mcp/
Built for AI-assisted development
pico-mcp is part of an ecosystem designed for humans and coding agents building software together. Every package ships AGENTS.md working conventions, an llms.txt machine-readable docs index and documented behaviour pinned by regression tests; pico-testing gives agents a verification loop for their own changes, and releases are gated by the whole ecosystem booting together against real infrastructure. The full story: Built for AI-assisted development.
Install the agent skills for Claude Code or OpenAI Codex:
curl -sL https://raw.githubusercontent.com/dperezcabrera/pico-skills/main/install.sh | bashThe pico-conventions skill teaches the assistant this module's API surface and invariants; /add-component and /add-tests scaffold components and tests that use it.
License
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
Model Context Protocol server for the Apideck Unified API. Connect any MCP-compatible agent framework to 100+ accounting systems, HRIS platforms, file storage providers, and more through one integration. More information https://www.apideck.com/mcp-server
MCP server for your apps' tools and custom tools, plus hosted AI agents and approval-gated workflows
A Model Context Protocol server for Wix AI tools
Remote MCP server exposing SMI Aware tools, resources, and skills over Streamable HTTP.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceModel Context Protocol server that standardizes tool discovery, execution, and context management for AI applications.MIT
- FlicenseNot gradedqualityDmaintenanceEnables AI agents to discover and invoke kernel tools and capabilities via the Model Context Protocol (MCP), supporting stdio, SSE, and Streamable HTTP transports for bidirectional communication.-
- AlicenseNot gradedqualityCmaintenanceEnables developers to build and deploy secure, typed Model Context Protocol servers with tools, resources, prompts, bearer-token authentication, per-tool scopes, rate limiting, and health probes over Streamable HTTP.MIT
- AlicenseAqualityBmaintenanceEnables building and running zero-dependency MCP servers with automatic JSON Schema generation, exposing Python tools to Claude Desktop, Cursor, and autonomous agent fleets.2Apache 2.0