I want to use my own API for the AI

Add MCP server to your AI tool

Allow AI tools and LLMs to interact with the API documentation portal through MCP.

MCP server URL

https://docs.pterocos.eu.org/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
{
  "Pterocos MCP server": {
    "url": "https://docs.pterocos.eu.org/mcp"
  }
}

Close
GET /use-own-api

How to use your own AI API on Pterocos:

Follow these steps to configure your own AI API:

  1. Go to the inside coding editor of each language (PHP, Python, Rust, etc.).
  2. Click on "Use my own AI API" on the sidebar.
  3. Configure it (enter your API key and endpoint).
  4. Click "Save & use my API" button and done.

Privacy Note: Pterocos does not store your AI API data on its servers. Your API key is hidden and stored securely in your browser's local storage. Only you have access to it, and it is never sent to Pterocos servers.

You can now use your own AI API for code assistance.

GET /use-own-api
curl \
 --request GET 'https://pterocos.eu.org/use-own-api'