agent-as-model MCP server
io.github.fernandogarzaaa/agent-as-model·v0.2.0A true MCP server where the agent is the model and the API key. No API keys.
0 stars137 downloads/wk
Reviews
Write oneNobody has reviewed agent-as-model yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
agent-as-model tools (5, 2 write)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
chat_completegenerateGenerate a completion from a raw prompt with the host agent's model.
list_modelsList the models this server offers. There is exactly one: agent-default, an alias for the host agent's own model.
messages_createwrite actionresponses_createwrite action
Public scan report
scanner v0.1.10 · 2026-10-27 · same rubric, same numbers if you re-run it
- Code scan5 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 9 days ago15/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
How agent-as-model compares
Against every graded AI and agents MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 92/100
- higher than 90% of 4,460 AI and agents servers
- Tools
- 5
- the typical AI and agents server has 6
- Tools that change things
- 40%
- typical: 0%. Fewer write tools means less an agent can break
- Downloads a week
- 137
- more than 69% of 1,538 AI and agents servers with a package
What its tools let an agent do: 2 read · 1 create · 1 change · 1 send or post
Install agent-as-model in Claude Code, Cursor or VS Code
claude mcp add agent-as-model -- uvx agent-as-model
What the publisher says
From the agent-as-model repository's README, as published. We do not edit it. Read it on GitHub
agent-as-model
A true MCP server where the agent is the model and the API key.
mcp-name: io.github.fernandogarzaaa/agent-as-model
Install
uvx agent-as-modelOne-click install for VS Code:
The deep link carries the server's real install config ({"name":"agent-as-model","command":"uvx","args":["agent-as-model"]}) URL-encoded in the vscode:mcp/install? handler, the format from the official VS Code MCP developer guide.
Host scope: sampling-capable hosts only
This server does its work through MCP sampling, so one-click install and the guides below are scoped to sampling-capable hosts: VS Code, Goose, fast-agent, and opencode. Claude Code and Cursor are excluded until they implement sampling. The manual Claude Code instructions further down stay for anyone who wants to experiment anyway.
Goose
Add to ~/.config/goose/config.yaml (or use goose configure and pick Add Extension, Command-line Extension):
extensions:
agent-as-model:
enabled: true
type: stdio
name: agent-as-model
cmd: uvx
args: ["agent-as-model"]
timeout: 300fast-agent
Add under mcp.servers in fastagent.config.yaml, then include agent-as-model in your agent's servers=[...] list:
mcp:
servers:
agent-as-model:
transport: "stdio"
command: "uvx"
args: ["agent-as-model"]opencode
opencode mcp add agent-as-model -- uvx agent-as-modelOr in opencode.json (project root or ~/.config/opencode/opencode.json):
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"agent-as-model": {
"type": "local",
"command": ["uvx", "agent-as-model"]
}
}
}Manual
Claude Code (kept as manual instructions; excluded from one-click until sampling is implemented):
claude mcp add agent-as-model -- uvx agent-as-modelAny client that takes MCP JSON, paste this:
{
"mcpServers": {
"agent-as-model": {
"command": "uvx",
"args": ["agent-as-model"]
}
}
}Requires Python 3.10+ and a host that declares the MCP sampling capability. No API keys, ever.
From a local checkout: python -m agentasmodel. From the repo without installing: uvx --from git+https://github.com/fernandogarzaaa/agent-as-model agent-as-model.
The idea
AI products usually demand a model API key before they do anything useful. This server flips that around. The tools speak the request shapes products already use, and the intelligence comes from the agent on the other end of the MCP connection. The agent is the model. The agent is the key.
Tools
chatcomplete** — OpenAI chat-completions-shaped request, completion text back.
{
"messages": [
{"role": "system", "content": "You are terse."},
{"role": "user", "content": "Explain MCP sampling."}
],
"model": "agent-default",
"temperature": 0.7,
"max_tokens": 500
}messagescreate** — Anthropic messages-shaped request, completion text back. system accepts a string or a list of text blocks. Message content accepts a string or a list of text blocks.
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
agent-as-model: common questions
- Is agent-as-model MCP server safe?
- Yes, by our scan: it is graded A (92/100). Read the agent-as-model safety report
- How do I install agent-as-model?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does agent-as-model need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is agent-as-model maintained?
- The last commit was 16 days ago (2026-10-19). The latest release is v0.2.0.
- What can I use instead of agent-as-model?
- Servers from other publishers that do the same job: Spotifyscraper MCP server, Mnemoverse Memory MCP server and Ausca MCP server.
- How does agent-as-model compare with other AI and agents MCP servers?
- safety score 92/100 (higher than 90% of 4,460 AI and agents servers); tools 5 (the typical AI and agents server has 6); tools that change things 40% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.
Alternatives to agent-as-model
Same job from other publishers: the closest match first, then the best rated.
- SpotifyscraperPublic Spotify metadata, lyrics and podcasts for LLM agents. No API key, read-only.not reviewedEstablishedB
- Mnemoverse MemoryHosted agent memory that learns from outcomes, with shared rooms. No key: mcp.mnemoverse.com/mcpnot reviewedEstablishedA
- AuscaPay-per-call APIs and MCP services for agents, no accounts or keys, with verifiable receipts.not reviewedEstablishedA