Tutorial
ยท
10 min min read
Connect MCP tools in 10 minutes
Connect MCP tools in 10 minutes
Define external APIs as MCP tools and expose them directly to your model context.
Define tool
{
"name": "weather_lookup",
"description": "Returns weather data for a city",
"inputSchema": {
"type": "object",
"properties": {
"city": { "type": "string" }
},
"required": ["city"]
}
}
Steps in Mycelis
- Create MCP connection.
- Register and test the tool.
- Enable tool in your agent.
Best practices
- use short and clear tool names
- implement explicit error handling
- prefer idempotent tool calls