mcpField
M
MCP REST Client

MCP REST Client

Local
github.com/vurtnecDeveloper Tools6Updated 93w ago

About MCP REST Client

MCP REST Client is an MCP client project for developers integrating MCP servers into agent workflows through REST APIs. It provides HTTP endpoints to list and call server tools.

Key features

  1. 01Register configured MCP servers
  2. 02List server tools through an API
  3. 03Call selected tools through an API
  4. 04Log tool calls to .cursorrules

Use cases

  1. 01Inspect a server's available tools over REST
  2. 02Invoke MCP tools from HTTP requests
  3. 03Connect MCP servers to agent workflows

MCP support

The client registers configured MCP servers and provides REST APIs for discovering and calling their tools.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

No install method listed yet

We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.

Repository

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project README

MCP Client

Overview

This is a Model Context Protocol (MCP) client project designed to facilitate advanced interactions with AI models and services.

Prerequisites

  • Node.js (version 16 or higher)
  • pnpm (package manager)

Installation

  1. Clone the repository
git clone https://github.com/your-username/mcp-client.git
cd mcp-client
  1. Install dependencies
pnpm install

Configuration

  1. Copy mcp_config.json.example to mcp_config.json
  2. Modify the configuration file with your specific server and tool settings

Usage

  1. To run the client:
pnpm start
  1. All your own servers will be registered when you run the client.

  2. You can use the list-tools API to list all the tools available for a specific server.

curl --location 'http://localhost:3000/list-tools/{serverName}'
  1. You can use the call-tool API to call a specific tool.
curl --location 'http://localhost:3000/call-tool' \
--header 'Content-Type: application/json' \
--data '{
    "serverName": "server_name",
    "toolName": "tool_name",
    "args": {
        // Arguments must match the inputSchema from the list-tools response
        // Required fields must be included
        // Optional fields can be omitted
        // Example based on above schema:
        // "issue_key": "PROJ-123"  // Required
        // "expand": "..."          // Optional
    }
}'
Cursorrules

All tool calls will be logged in the .cursorrules file.

IMPORTANT:

  • YOU MUST COPY CURSORRULES TO YOUR OWN REPO AND EDIT IT TO YOUR OWN NEEDS.
  • YOU MUST COPY "mcp_config.json" TO YOUR OWN REPO AND EDIT IT TO YOUR OWN NEEDS.
  • YOU MUST USE COMPOSER WITH AGENT.

Contributing

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

Distributed under the MIT License. See LICENSE for more information.

Contact

Your Name - [email protected]

Project Link: https://github.com/your-username/mcp-client

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.