Skip to content
Agentmart
Submit a tool

agent-as-model

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

Connector by fernandogarzaaa · GitHub account verified by the MCP Registry

IndexedMITLocal (stdio)
Write a review

Install

Works with Claude Code, Codex, VS Code, Cursor, Windsurf, Claude Desktop. Read the repository before you give any tool access to your data.

npx agentmarket install connector/fernandogarzaaa-agent-as-model

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

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

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this server can do and what it asks for, from its tool list, install config and code. Checked Oct 25, 2026.

Tools
3 read · 2 write · 0 delete · 1 not yet classified
Secrets
None asked for
Install scripts
None found
Runs as
Python package

Tools by what they do 6

Read from the source code; the running server may list different tools.

Read 3 · Look things up without changing anything.

  • chat_complete
  • list_models
  • structured_output

Write 2 · Create, change, send or run things.

  • messages_create
  • responses_create

Not yet classified 1 · We could not tell from the name and description.

  • generate

Network hosts it talks to 1

  • github.com · found in code

Tools (6)

Read from the source code; the running server may differ. Descriptions are the server’s own words; hidden characters are shown as [U+…].

  • chat_complete

    Generate a chat completion from an OpenAI chat-completions-shaped request. The completion is produced by the host agent's own model: direct MCP sampling on pre-2026-07-28 connections, an MRTR InputRequiredResult carrying the request payload on 2026-07-28+. When output_schema is given, the request carries exactly one required tool whose input schema is that schema, and the validated structured completion is returned as JSON text. When tools is given, the tool definitions are forwarded to the host's model with tool_choice, but only if the host advertised the sampling.tools capability: otherwise …

  • generate

    Generate a raw text completion from a plain prompt string. The prompt is sent as a single user sampling message with no system prompt and no chat formatting: raw prompt in, completion text out, produced by the host agent's own model. Same model hint and parameters as the other completion tools, minus any chat or tool features: no tools, no output_schema, no tool_choice. It does accept the optional persona contract ({name, input_schema, output_schema}): request/response validation only, never a sampling feature, so the thin path stays zero overhead. Session cursors: the server keeps no session …

  • list_models

    List the models this server offers. There is exactly one: agent-default, an alias for the host agent's own model.

  • messages_create

    Generate a completion from an Anthropic messages-shaped request. The completion is produced by the host agent's own model: direct MCP sampling on pre-2026-07-28 connections, an MRTR InputRequiredResult carrying the request payload on 2026-07-28+. When output_schema is given, the request carries exactly one required tool whose input schema is that schema, and the validated structured completion is returned as JSON text. When tools is given, the tool definitions are forwarded to the host's model with tool_choice, but only if the host advertised the sampling.tools capability: otherwise the tools …

  • responses_create

    Generate a completion from an OpenAI Responses-shaped request, returning the Responses API response object. The completion is produced by the host agent's own model: direct MCP sampling on pre-2026-07-28 connections, an MRTR InputRequiredResult carrying the request payload on 2026-07-28+. `input` is a string or a list of input items; each item is {role, content} with role user, assistant, system, or developer, and content a string or a list of text parts ({type: 'input_text'|'text', input_text: '...'}). A string input becomes one user message. System and developer items fold into the system pr…

  • structured_output

    Return the completion as structured data matching this tool's input schema. You must call this tool.

Signals

Stars
0
Forks
0
Open issues
0
Weekly downloads
467
Last commit
Oct 19, 2026 (10 days ago)
Last release
Oct 19, 2026 (10 days ago)
Last package publish
Oct 19, 2026 (10 days ago)

From GitHub (fetched Oct 24, 2026) and the package registry.

Details

Registry name
io.github.fernandogarzaaa/agent-as-model
Version
0.2.0
Auth
No auth
Packages
pypi agent-as-model
License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from fernandogarzaaa

Cite this page

agent-as-model MCP server. Agent Mart. https://agentmart.dev/connectors/fernandogarzaaa-agent-as-model (last updated 2026-10-24)