Auto
MCP
Claude
ChatGPT
Cursor
Skills
1-line autonomous agent setup instruction. Paste into Claude Code, Codex CLI, or Cursor Agent:
Copy
Fetch and configure Model Context Protocol (MCP) server MCP Agent from https://www.fastmcp.dev/server/mcp-agent
Agents automatically discover, install, and execute the server spec without manual token setup.
Connect via direct Stateless MCP v2 / Streamable HTTP endpoint or JSON-RPC:
Raw Endpoint
cURL JSON-RPC
Copy
https://github.com/lastmile-ai/mcp-agent
Stateless edge endpoint compliant with MCP 2024-11-05 and v2 draft protocol specs.
Includes server instructions and tool definitions for Claude:
Claude Code (CLI)
Claude Desktop
.mcp.json
Copy
claude mcp add mcp-agent -- npx -y mcp-agent
Run in terminal to register server in current project or pass --scope user for global availability.
Configures server instructions and tools for OpenAI Codex & ChatGPT Desktop:
~/.codex/config.toml
Codex CLI
Copy
[mcp_servers.mcp_agent]
command = "npx"
args = ["-y","mcp_agent"]
Applies to ChatGPT Desktop app, Codex CLI, and IDE extension across your Codex host.
Add to Cursor project settings (.cursor/mcp.json) or Cursor Settings > Features > MCP:
Copy
{
"mcpServers": {
"mcp-agent": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"mcp-agent"
]
}
}
}
Commit to version control to allow teammates to connect immediately.
Install as an autonomous Agent Skill using the standard skills CLI:
Copy
npx skills add https://github.com/lastmile-ai/mcp-agent
Standard agent skill installer compatible with Claude Code, Cursor, and agy harnesses.
Server Guidance & Instructions
OpenAI & Claude Spec Compliant
MCP Agent: Simplifies building AI agents using Model Context Protocol and composable workflow patterns. Key capabilities: Manages lifecycle of MCP server connections; Supports Augmented LLMs with tool access via Agents.
Codex and Claude read this instruction prompt during initialization to orchestrate cross-tool workflows and rate limits.