Skip to main content
Glama
vinaykp

MCP REST API Server

by vinaykp

MCP REST API

Overview

This project implements a REST API server for the Model Context Protocol (MCP). It provides endpoints for managing and interacting with MCP resources.

Related MCP server: MCP Server

Project Structure

  • client.py: Handles client-side interactions.

  • health_check.py: Implements health check endpoints for the server.

  • logger_config.py: Configures logging for the application.

  • mcp_server.py: Core server logic for the MCP REST API.

  • middleware.py: Middleware components for request/response processing.

  • server.py: Entry point for starting the server.

  • pyproject.toml: Project configuration and dependencies.

  • logs/: Directory containing log files (error.log, mcp_server.log).

Requirements

  • Python 3.12 or higher

  • Dependencies listed in pyproject.toml

Setup

  1. Clone the repository:

    git clone <repository-url>
    cd mcp_restapi
  2. Install dependencies:

    pip install -e .

Running the Server

Start the server using the following command:

python server.py

Logging

Log files are stored in the logs/ directory. The following logs are available:

  • error.log: Records error messages.

  • mcp_server.log: General server logs.

Health Check

The health check endpoint can be accessed to verify the server's status. Refer to health_check.py for implementation details.

License

This project is licensed under the MIT License. See the LICENSE file for details.

F
license - not found
-
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
    An implementation of the Model Context Protocol (MCP) server that enables multiple clients to connect simultaneously and handles basic context management and messaging with an extendable architecture.
    Last updated
    MIT
  • A
    license
    -
    quality
    D
    maintenance
    A server that implements the Model Context Protocol (MCP) with StreamableHTTP transport, enabling standardized interaction with model services through a RESTful API interface.
    Last updated
    524
    2
    MIT
  • A
    license
    -
    quality
    D
    maintenance
    A comprehensive reference implementation demonstrating all features of the Model Context Protocol (MCP) specification, serving as documentation, learning resource, and testing tool for MCP implementations.
    Last updated
    1
    MIT

View all related MCP servers

Related MCP Connectors

  • MCP (Model Context Protocol) server for Appwrite

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

  • MCP Spec Compliance MCP — audits any MCP server.json against the official Model Context Protocol

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/vinaykp/mcp_restapi'

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