RCP Protocol Lets AI Agents Call REST APIs Directly Without an MCP Server
A new open-source protocol called REST Connector Protocol (RCP) allows developers to expose existing REST API endpoints as AI agent tools without setting up a dedicated Model Context Protocol (MCP) server. By adding a single GET /manifest route that returns a JSON description of available endpoints, an AI agent can discover and call those tools directly over stateless HTTP. The rcp-sdk package, available on npm, provides both client and server entry points and integrates with popular AI frameworks including the OpenAI SDK, LangChain, and Gemini. Unlike MCP, which requires a persistent session and JSON-RPC transport, RCP is designed for the common use case where developers simply want an AI agent to interact with endpoints they already have. The project is documented at rcp.hasanraiyan.me and its source code is publicly available on GitHub.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in