Agent Tool Server
Learn how to deploy a custom tool server for AI agents with Ink.
Create an Ink account and connect Ink
Make sure you have an Ink account and have set up Ink for your agent. Use the CLI, the Ink Skill, or MCP. For MCP auth, choose:
- OAuth — authenticate through a browser flow, no keys to manage
- Token — create an API key at deployink.com/account/api-keys
See Quick Start for full setup instructions.
Verify the connection
Once Ink is connected, confirm your agent can reach it by asking it to check.
Do you have Ink connected?
Build the tool server
Ask your agent to build an HTTP API that other AI agents can use as a tool server. The agent will scaffold an Express app with endpoints for common agent operations.
Build an HTTP API that AI agents can use as a tool server. Include endpoints for web scraping, screenshot capture, and URL shortening. Use Node.js with Express.
Deploy with Ink
Tell your agent to deploy. Tool servers that handle scraping and screenshots benefit from more memory.
Deploy with Ink
service_create(
"name": "tool-server",
"repo": "ink/tool-server",
"build_pack": "railpack",
"ports": {
"0": "[object Object]"
},
"memory": "512Mi"
)Use your tool server
Ink returns a live URL once the build completes. Point your AI agents to the deployed endpoints to use the tools.
Check logs and metrics (optional)
Ask your agent to pull build logs, runtime logs, or metrics for your deployed service.
Check metrics and logs
That's it — your agent tool server is deployed and live. From here you can add a custom domain, set up environment variables, or explore more examples.