Connect a service through Composio
Reach a service with no MCP server of its own through Composio. Register the MCP address Composio gives you in Amiril, then grant its tools.
A connector platform such as Composio stores your account's login for a service and gives you an MCP address for it. Register that address in Amiril as a tool server, and the service's tools show up under Tools like any other server's. Other platforms that give an HTTPS MCP address work the same way. If no platform covers the service, wrap its API as a tool server yourself.
Set up the server in Composio
Create an MCP server in Composio for the toolkit you need, from its dashboard or its SDK. Choose the actions your agents may use as its allowed tools. Each action becomes its own tool, so Amiril can grant them one at a time.
Generate the server's URL for one Composio user ID, and connect that user's account at the service. The agents act as that account. Composio's MCP guide shows both steps. Copy the URL.
Get an API key for your Composio project. Composio checks it in the x-api-key header of each request to the server.
Register it in Amiril
Open Tools and select Add server. Paste the Composio URL into Server URL.
Under Sign-in, choose API key or token. Set Header name to x-api-key and enter the Composio API key in Key or token, with no Bearer in front. Under Details, set Type to External. Connect an MCP server with an API key explains each field.
Select Test connection and check each tool's Access. A tool that sends no hints about what it does to data arrives as Write. Set a tool that only reads to Read, and one that deletes data to Destructive. Then select the button that adds the tools, such as Add 2 tools.
Next, grant the tools to an agent.
Next steps
Add a tool server
Register the MCP server where your agents' tools live and choose how Amiril signs in to it. Then grant its tools to agents on their Access tab.
Connect an MCP server with an API key
Register a tool server that takes a fixed API key or token in a header. You enter the key once in Amiril, and the gateway adds it to every call.
Wrap an API as a tool server
Put a small MCP server in front of an API that has none, so you can grant its actions to your agents as tools. About sixty lines of TypeScript.
Move an in-process tool to a tool server
Take a tool function and its API key out of your agent and put them on a tool server behind the Amiril gateway. The agent keeps one gateway token.
Last updated on