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.

A
license - permissive license
-
quality - not tested
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

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

Related MCP Servers

  • A
    license
    -
    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.
    Last updated
    231
    2
    GPL 3.0
  • A
    license
    -
    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.
    Last updated
    1,097,565
    1
    MIT

View all related MCP servers

Related MCP Connectors

  • Self-hosted MCP gateway: turn any API, database or MCP server into AI connectors — no code.

  • A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…

  • Connect any AI agent to 11+ social platforms: schedule, publish & track posts via hosted MCP.

View all MCP Connectors

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