Your agent, your computer
The One Dollar Computer MCP connects your own AI agent — Claude Code, Cursor, Codex, and more — to your One Dollar Computer account, so it can work with your firmware projects and lessons right from your chat.
Start with one paste
Connect to my One Dollar Computer: read https://odc.rs/mcp and follow the agent instructions on that page — install the odc MCP server, call odc_connect, and show me the approval link.
How the approval works
- Your agent starts. It installs the MCP server and asks to connect — you get one approval link.
- You approve with Google. Open the link in any browser, sign in with Google, and click Approve. No account yet? That first sign-in creates it, and you pick your username on the same screen. No new password, ever.
- Your agent is in. It sees the approval on its own and can start working. The pairing token lives on your machine, and you can revoke it any time from your page or Learn Physical AI.
Set up your agent
Claude Code
claude mcp add odc -- npx -y @onedollarcomputer/odc-mcp
Codex
codex mcp add odc -- npx -y @onedollarcomputer/odc-mcp
Cursor
{
"mcpServers": {
"odc": {
"type": "stdio",
"command": "npx",
"args": ["-y", "@onedollarcomputer/odc-mcp"]
}
}
}
VS Code (Copilot)
{
"servers": {
"odc": {
"type": "stdio",
"command": "npx",
"args": ["-y", "@onedollarcomputer/odc-mcp"]
}
}
}
Any other agent
{
"mcpServers": {
"odc": {
"command": "npx",
"args": ["-y", "@onedollarcomputer/odc-mcp"]
}
}
}
What your agent can do
For agents
{
"server": "odc",
"transport": "stdio",
"command": "npx",
"args": ["-y", "@onedollarcomputer/odc-mcp"],
"connect": {
"tool": "odc_connect",
"flow": "The tool starts a pairing, returns an approveUrl, and waits. Show the approveUrl to the user. The user opens it in any browser, signs in with Google (first sign-in creates the account), confirms a username if asked, and approves. The tool then stores the pairing token locally (~/.config/odc/) and reports connected.",
"approveUrlPattern": "https://onedollarcomputer.com/mcp/approve/?code=",
"linkLifetimeMinutes": 10,
"revoke": "The user can revoke agent access any time from onedollarcomputer.com/project/ or onedollarcomputer.com/c/ (Agent -> Revoke)."
},
"afterConnect": ["project_brief", "project_list", "curriculum_agent_brief", "curriculum_list_lessons"],
"rules": [
"Board firmware must be complete Simple Rust: use odc::*; fn main() { ... }",
"Never read_button() / pin 13 / BUTTON as user input - pin 13 is bootloader only",
"Do not scrape onedollarcomputer.com; use the MCP tools"
]
}