Custom API Integration

Connect any REST API to MCP Forest and make it AI-accessible

Overview

MCP Forest can connect to any REST API, making your data and services accessible to AI assistants. Upload an OpenAPI specification or manually configure your API endpoints to get started.

What You Can Connect

  • Any REST API with JSON responses
  • APIs with OpenAPI/Swagger documentation
  • Public APIs (GitHub, Stripe, etc.)
  • Your own custom APIs
  • Internal company APIs

What AI Can Do

  • Fetch and analyze data
  • Create and update records
  • Generate reports and summaries
  • Automate workflows
  • Monitor and alert on changes

Integration Methods

OpenAPI Upload (Recommended)

Upload your OpenAPI/Swagger specification file

Best Option

Automatically discovers all endpoints, parameters, and data types. Perfect for well-documented APIs.

How to use:

  1. 1. Get your OpenAPI spec file (.json or .yaml)
  2. 2. Click "Upload OpenAPI Spec" in MCP Forest
  3. 3. Select your file and upload
  4. 4. Configure authentication if needed
  5. 5. Test and deploy

Manual Configuration

Manually define API endpoints and parameters

Flexible Option

Perfect when you don't have OpenAPI docs or want to connect specific endpoints only.

What you'll define:

  • • Base URL of your API
  • • Endpoint paths and HTTP methods
  • • Required and optional parameters
  • • Authentication method
  • • Response data structure

URL Discovery

Let MCP Forest discover endpoints automatically

Smart Discovery

Provide just the base URL and MCP Forest will attempt to discover available endpoints and documentation.

Works with:

  • • APIs with /swagger or /docs endpoints
  • • APIs with OpenAPI discovery
  • • REST APIs with standard patterns

Authentication Methods

API Key

Most common authentication method for APIs

Supports: Header, Query Parameter, or Custom

Bearer Token

OAuth tokens and JWT authentication

Supports: OAuth 2.0, JWT, Custom tokens

Basic Auth

Username and password authentication

Supports: HTTP Basic Authentication

No Auth

Public APIs that don't require authentication

Perfect for: Public data APIs, internal APIs

Popular API Examples

GitHub API

Manage repositories, issues, and pull requests

Base URL: https://api.github.com
Auth: Personal Access Token
Use cases: Issue tracking, code review automation

Stripe API

Process payments and manage customers

Base URL: https://api.stripe.com
Auth: API Key
Use cases: Payment processing, subscription management

Notion API

Access and update Notion databases and pages

Base URL: https://api.notion.com
Auth: Bearer Token
Use cases: Content management, task automation

Your Custom API

Connect your own application's API

Base URL: https://your-api.com
Auth: Whatever you use
Use cases: Custom workflows, data management

Configuration Example

Here's how a typical API configuration looks in MCP Forest:

GitHub API Configuration

{
  "name": "github-api",
  "baseUrl": "https://api.github.com",
  "authentication": {
    "type": "bearer_token",
    "token": "ghp_your_token_here"
  },
  "endpoints": [
    {
      "path": "/user/repos",
      "method": "GET",
      "description": "List user repositories",
      "parameters": {
        "type": "all",
        "sort": "updated",
        "per_page": 30
      }
    },
    {
      "path": "/repos/{owner}/{repo}/issues",
      "method": "GET",
      "description": "List repository issues",
      "parameters": {
        "state": "open",
        "labels": "bug,enhancement"
      }
    }
  ]
}

Real-World Use Cases

Developer Workflow

"Show me all open issues in my repository" → AI fetches GitHub issues and summarizes them

E-commerce Analytics

"What were our top-selling products last month?" → AI analyzes Stripe payment data

Content Management

"Create a new project page in Notion" → AI creates and structures the page automatically

Data Processing

"Export all customer data from last quarter" → AI fetches and formats your CRM data

Ready to Connect Your API?

Start by uploading your OpenAPI specification or manually configuring your API endpoints. Most APIs can be connected in under 5 minutes.