Skip to main content
Glama
viktormarinho

rest-to-mcp

rest-to-mcp

A bridge that enables any LLM to access and interact with documented REST APIs through the Model Context Protocol (MCP).

Overview

rest-to-mcp provides a seamless adapter layer that allows language models to:

  1. Discover available endpoints from REST APIs that publish OpenAPI/Swagger documentation

  2. Make direct HTTP requests to these endpoints

This enables LLMs to interact with external REST services without requiring custom integration code for each API.

Related MCP server: Conduit

How It Works

This project implements an MCP server with two primary tools:

1. discover-endpoints

Automatically locates API documentation by probing common paths where OpenAPI/Swagger specs are typically published:

  • /openapi.json

  • /swagger.json

  • /swagger/v1/swagger.json

  • /api-docs

  • /api-docs.json

2. make-request

Allows direct HTTP interactions with any REST endpoint:

  • Supports GET, POST, PUT, DELETE methods

  • Handles JSON request and response bodies

  • Returns formatted JSON responses to the LLM

Developing

deno install

Start the MCP server:

deno run dev

This launches the server using the MCP Inspector for testing and debugging.

Integration

LLMs can connect to this server through the Model Context Protocol, enabling them to:

  1. First discover what endpoints are available on a REST API

  2. Make appropriate requests to those endpoints

  3. Process the JSON responses

License

Project licensed under the MIT License.

More information on the LICENSE file.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.

No tool schema history has been recorded yet.

Maintenance

ActivityInactive
ResponsivenessNo issues

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    A bridge that exposes any GraphQL API as tools consumable by Large Language Models via the Model Context Protocol (MCP), automatically discovering and translating API capabilities with zero maintenance required.
    141
    2
    GPL 3.0
  • A
    license
    Not graded
    quality
    C
    maintenance
    Bridges LLM clients with existing RESTful microservices by converting MCP tool calls into REST requests, enabling any REST API to be used as an MCP tool without modifying the microservices.
    863,678
    1
    MIT

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/viktormarinho/rest-to-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server