A simple REST API tool server for AI agents, ready to deploy.
npm install
node server.jsOpen http://localhost:3000 to test the tools in the browser.
GET /tools- List available toolsPOST /tools/search- Search for information ({ "query": "..." })POST /tools/calculate- Calculate math expressions ({ "expression": "..." })
Connect the Ink MCP server to your AI agent and prompt:
Deploy this app with Ink.
Full tutorial: docs.ml.ink/examples/ai/agent-tool-server
Ink is a deployment platform built for AI agents.
- Website: ml.ink
- Documentation: docs.ml.ink
- Quick Start: docs.ml.ink/quick-start
- Examples: docs.ml.ink/examples