# Invoke project memory MCP endpoint **POST /api/v1/projects/{id}/mcp** Forwards an MCP (Model Context Protocol) request to the project's memory tool server. The project scope is carried by the route id path parameter and the org is derived from that project. The body is a single JSON-RPC message; JSON-RPC batch requests are rejected. The upstream response is proxied back verbatim. ## Servers - https://agentengine.mongodb.com: https://agentengine.mongodb.com () ## Authentication methods - Bearer auth ## Parameters ### Path parameters - **id** (string) Project ID ### Body: application/json (object) JSON-RPC message (forwarded to the project runtime as-is) object ## Responses ### 200 MCP response, proxied verbatim #### Body: application/json (object) object ### 400 Project runtime not available, or a JSON-RPC batch request #### Body: application/json (object) - **code** (string) - **error** (string) - **success** (boolean) ### 401 Missing or invalid credentials #### Body: application/json (object) - **code** (string) - **error** (string) - **success** (boolean) ### 403 Caller lacks deployment-management permission #### Body: application/json (object) - **code** (string) - **error** (string) - **success** (boolean) ### 404 MCP access not enabled for this project #### Body: application/json (object) - **code** (string) - **error** (string) - **success** (boolean) ### 413 Request body exceeds the size limit #### Body: application/json (object) - **code** (string) - **error** (string) - **success** (boolean) ### 502 Project runtime unreachable #### Body: application/json (object) - **code** (string) - **error** (string) - **success** (boolean) ### 503 Project runtime does not serve MCP yet #### Body: application/json (object) - **code** (string) - **error** (string) - **success** (boolean) [Powered by Bump.sh](https://bump.sh)