Management API
Get MCP Server Tools
Retrieve all tools/endpoints available for a specific MCP server connection.
Overview
This endpoint returns all tools (functions) available for a specific MCP server connection. Tools are returned in MCP-compliant format with proper JSON schema definitions for each tool’s input parameters.
Prerequisites
- Valid OAuth Token - Bearer token with
mgmt.read
scope - Existing Connection - Valid MCP server connection ID
Request
Path Parameters
Parameter | Type | Required | Description |
---|---|---|---|
server_id | integer | Yes | The MCP server connection ID |
Headers
Header | Type | Required | Description |
---|---|---|---|
Authorization | string | Yes | Bearer token from OAuth authentication |
Content-Type | string | Yes | Must be application/json |
Response
Success Response (200 OK)
Response Fields
Field | Type | Description |
---|---|---|
success | boolean | Whether the request was successful |
data.tools | array | Array of MCP-compliant tool definitions |
data.total_count | integer | Total number of tools available |
data.mcp_server_id | integer | The MCP server ID these tools belong to |
Tool Object Fields
Each tool in the tools
array contains:
Field | Type | Description |
---|---|---|
name | string | Unique identifier for the tool |
description | string | Human-readable description of the tool’s functionality |
inputSchema | object | JSON Schema defining the tool’s input parameters |
annotations | object | Additional metadata about the tool |
Pagination (Optional)
For large tool counts, responses may include pagination fields:
Error Responses
Connection Not Found (404)
Unauthorized (401)
Forbidden (403)
Examples
Get Tools for Pipedrive Connection
Response
Implementation Notes
Tool Discovery
- Tools are discovered from both local MCP server definitions and external API endpoints
- Tools are filtered based on user’s OAuth permissions and connection access level
- Disabled tools are excluded from the response
MCP Compliance
- All tools follow MCP specification format
- Input schemas use JSON Schema Draft 7
- Annotations provide additional metadata for tool categorization
Performance
- Results may be paginated for connections with many tools
- Tools are cached per connection for improved response times
- Database queries are optimized for fast retrieval
Related Endpoints
- Create MCP Server Connection - Create a new connection
- Update MCP Server Connection - Update connection settings
- Get MCP Server Connection - Get connection details
- Disable Tools - Disable specific tools