How it’s created
Custom MCP servers are set up from a custom connection, not on their own. In the web app, start a custom connection under Tools → Connections, then complete the three-step editor:Basic Info & Auth Type
Name the integration, optionally upload an icon, and choose how it authenticates: OAuth 2.0 (Authorization Code or Client Credentials), API Key, or Basic Auth.
Auth Configuration
Enter the auth details for the type you chose — for OAuth, the authorize/token URLs, client ID and secret, and scopes; for API Key or Basic Auth, the API base URL and a test endpoint. Pinkfish uses this to obtain and store credentials for the connection.
MCP Server Setup
Create the MCP server for this connection. Either map it to an existing MCP server, or generate a new one from an OpenAPI spec — upload the spec and Pinkfish turns its operations into tools. The server is bound to the connection, so its tools call your API with the connection’s credentials.
Custom MCP Servers are scoped to one organization — the one you’re in when you create them. They can only be used by agents and API credentials in that same organization. See Authentication for organization scoping.
Find the server ID
Open the server under Tools → Custom MCP Servers. The id — a short token such asd7r2dt3l9foc7192703g, not the display name — is what you use to attach it via the API.
Attach it to an agent
Custom MCP servers attach through the sameservers field as built-in servers, using the agent-management tools. Reference the server by its id:
agent_create. Use { "name": "<id>", "tools": { "tool_name": {} } } to attach specific tools instead of all of them. When the agent runs, it calls the server’s tools using the connection’s stored credentials.

