Cork Public API & MCP Server
Last updated: August 3, 2026
API for accessing Cork platform data
Cork provides two ways to integrate with platform data:
Public REST API: Standard REST endpoints for accessing integrations, risk insights, and asset data
MCP Server: Wraps the REST API for use with MCP-compatible tools like Claude (Web, Desktop, Code), ChatGPT, Gemini CLI, etc
Both REST API and MCP server use an API key for authentication.
Where is the REST API documentation?
Documentation is available at https://api.corkinc.com/api/docs
How can I generate keys in the platform?
Estimated time: 1-2 minutes
In the Cork platform, you can generate keys by following these steps
Open the Admin tab
Select API Keys
Click "Add API Key"
Select a name and timeframe for when the API key should expire
Generate and securely store your key
Note: API key permissions are linked to the users who create them
MCP Setup
Estimated time: 5-10 minutes
Make sure you generate an API key within Cork Vantage first
Check out our Prompt Distillery for a list of example use cases to use against the Cork MCP
Claude (Web) & Claude Desktop
Navigate to Customize > Connectors
Click the
+icon and click "Add custom connector"Enter the following:
Name: Cork
Remote MCP Server URL: https://api.corkinc.com/api/v1/mcp
Click "Add", it should drop you into the OAuth flow automatically
Enter your API key and click "Authorize"
Claude Code
Open a new terminal window
Run the following command:
claude mcp add cork --transport http https://api.corkinc.com/api/v1/mcpOpen a new Claude Code session by running
claudeRun
/mcpwithin the Claude Code session and authorize the Cork MCP connectionIt should drop you into the OAuth flow automatically
Enter your API key and click "Authorize"
ChatGPT
Navigate to your account settings
Click "Apps" and select "Advanced settings"
Ensure Developer Mode is enabled
Go back to "Apps" and click "Create app"
Enter the following:
Name: Cork
MCP Server URL: https://api.corkinc.com/api/v1/mcp
Authentication: OAuth
Leave all other options blank
Check the box next to "I understand and want to continue"
Click "Create", it should drop you into the OAuth flow automatically
Enter your API key and click "Authorize"
Microsoft Copilot
Navigate to Microsoft Copilot Studio
Select "Agents" on the left and then "+ Create Blank Agent" on the top right
If using the New UI the button on the right is "New Agent"
Give your agent a name such as "Cork"
On the right hand side under "Tools" click "+"
On the popup, click "+ Add" and select "Model Context Protocol (MCP)"
Enter the following:
Server name: Cork
Server description: Allows interaction with the Cork Vantage API
Server URL: https://api.corkinc.com/api/v1/mcp
Authentication: OAuth 2.0
Configuration type: Dynamic (with discovery)
Click "Add"
Click the dropdown arrow next to "Connection" and select "Create new connection"
Optionally add a display name, then click "Create"
Paste your API key in the window that pops up
Click "Authorize"
In the "Preview" tab, start a new chat and ask "what tools are available through Cork?"
This should list the operations available, if you get an error, try creating a new connection
If you need to change the agent entirely, you will need to remove the customer connector through Power Automate
Search for "Custom connectors"
Find the connector named "Cork" and delete it, then start with Step 1 again
Gemini CLI
Open a new terminal window
Run the following command:
gemini mcp add cork https://api.corkinc.com/api/v1/mcp --transport httpOpen a new Gemini CLI session by running
geminiRun
/mcp auth corkand select "Yes", it should drop you into the OAuth flow automaticallyEnter your API key and click "Authorize"
Through mcp.json or schema that supports MCP servers
Update your configuration to include a new Cork MCP server:
{
"mcpServers": {
"cork": {
"url": "https://api.corkinc.com/api/v1/mcp"
}
}
}The next time you launch your tool it should prompt you to authorize, enter your API key and click "Authorize"
Manually with tools that do not support OAuth
Update your configuration to include a new Cork MCP server with specified authentication:
{
"mcpServers": {
"cork": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://api.corkinc.com/api/v1/mcp",
"--header",
"Authorization:${AUTH_HEADER}"
],
"env": {
"AUTH_HEADER": "Bearer YOUR_API_KEY"
}
}
}
}