@riza-io/voyager-server
v0.1.0
Published
A Model Context Protocol server for a self-building agent
Readme
Self-Writing Agent MCP Server
This implements an MCP Server that uses Riza's Code Interpreter (specifically the Tools API to allow an LLM to write and execute its own tools in a sandboxed environment.
You can learn more about Riza's Code Interpreter in our docs.
Setup
To run the server, clone this repo:
git clone [email protected]:riza-io/demos.git
cd demos/voyager-server
npm run buildYou can also run npm run watch if you want to make code changes.
This MCP server should work with any MCP client. We've tested this with Claude Desktop. If you're using Claude Desktop, update your Claude Desktop config, typically found at ~/Library/Application\ Support/Claude/claude_desktop_config.json, and update the config as follows:
{
"mcpServers": {
"self-writing-agent-server": {
"command": "node",
"args": ["", ""],
"env": {
"RIZA_API_KEY": "YOUR_RIZA_API_KEY",
"ANTHROPIC_API_KEY": "YOUR_ANTHROPIC_API_KEY",
"STRIPE_TESTMODE_API_KEY": "YOUR_STRIPE_TESTMODE_API_KEY",
"SLACK_API_KEY": "YOUR_SLACK_API_KEY",
"GOOGLE_API_KEY": "YOUR_GOOGLE_API_KEY",
"OPENAI_API_KEY": "YOUR_OPENAI_API_KEY",
"AIRTABLE_API_KEY": "YOUR_AIRTABLE_API_KEY"
}
}
}
}This demo requires a Riza API key, which you can get from your Riza Dashboard, and an Anthropic API key, which you can get from your Anthropic Dashboard. The other keys are only needed if you wish for your agent to use them. We recommend using keys for non-production environments (such as Stripe testmode keys), since this agent will execute real API calls.
Additional API keys can be configured in the credentials.ts file in the source directory. (Make sure you run npm run build or npm run watch if you make changes to that file.)
Come chat with us on Discord if you have any questions or feedback!
