MCP Servers
Use Riza’s local and remote Model Context Protocol servers
Remote MCP server
We offer a hosted Model Context Protocol (MCP) server so you can connect an agent to our Code Interpreter without downloading and running additional code.
You can use this server with any framework or client that supports remote MCP servers.
Get the MCP server URL
- Sign up for Riza. You’ll need a Riza account to use the remote MCP server.
- Get your Riza MCP URL. Visit the MCP page in the Riza dashboard. There, you’ll see your URL, which includes your secret key:
https://mcp.riza.io/code-interpreter?secret=YOUR_RIZA_REMOTE_MCP_SECRET
PydanticAI
Here’s how you can use the remote MCP server with PydanticAI:
Cursor
To add the remote MCP server to Cursor, edit your Cursor MCP server configuration file to include the following snippet:
Local MCP server
We offer an MCP server that you can run locally. You can view the code on GitHub.
You can use this with any framework or client that supports local stdio MCP servers, such as Claude Desktop.
Prerequisites
- Sign up for Riza. You’ll need a Riza API key to use the local server.
- Install Node.js on your computer. Node is required to download and run the server.
PydanticAI
Here’s an example of how to use the local MCP server with PydanticAI:
Claude Desktop
To run the server with Claude Desktop, edit your Claude MCP server configuration file to include the following snippet: