Skip to content
MCP server

agent-as-model

A true MCP server where the agent is the model and the API key. No API keys.

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
0.2.0
Listing updated
5 days ago

About agent-as-model

agent-as-model is an open-source MCP server. It runs locally on your machine and is started by your AI client.

Install

Run in a terminal

claude mcp add agent-as-model -- uvx agent-as-model

Add to claude_desktop_config.json

{
  "mcpServers": {
    "agent-as-model": {
      "command": "uvx",
      "args": [
        "agent-as-model"
      ]
    }
  }
}
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "agent-as-model": {
      "command": "uvx",
      "args": [
        "agent-as-model"
      ]
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "agent-as-model": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "agent-as-model"
      ]
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "agent-as-model": {
      "command": "uvx",
      "args": [
        "agent-as-model"
      ]
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "agent-as-model": {
      "command": "uvx",
      "args": [
        "agent-as-model"
      ]
    }
  }
}

Pricing

Open source

agent-as-model FAQ

Is agent-as-model free?

Yes. agent-as-model is open source, so you can use and self-host it for free.

How do I add agent-as-model to Claude Code?

Run this command in your terminal: claude mcp add agent-as-model -- uvx agent-as-model