MCP Tools
by michaelnugent
This repository provides tools for working with the Model Context Protocol (MCP), including a proxy and a server. The MCP proxy forwards data to an HTTP endpoint, while the MCP server manages MCP executables and exposes them via HTTP or stdio.
Last updated: N/A
What is MCP Tools?
MCP Tools is a collection of utilities for interacting with the Model Context Protocol (MCP). It includes an MCP proxy that forwards requests to an HTTP endpoint and an MCP server that loads and manages MCP executables.
How to use MCP Tools?
To use the MCP proxy, run the mcp-proxy
executable with the desired options, such as the endpoint and content type. To use the MCP server, run the mcp-server
executable, specifying the directory containing the MCP executables and the desired mode (HTTP or stdio). The Makefile provides convenient commands for building, running, and testing the components.
Key features of MCP Tools
MCP Proxy: Forwards data from stdin to an HTTP endpoint.
MCP Server: Loads and manages MCP executables from a directory.
HTTP and stdio modes for the server.
Example MCPs for demonstration.
Use cases of MCP Tools
Communicating with remote MCP-compatible servers using the proxy.
Exposing MCP tools via HTTP or stdio using the server.
Developing and testing MCP-compatible tools.
Integrating MCP tools into existing systems.
FAQ from MCP Tools
What is the Model Context Protocol (MCP)?
What is the Model Context Protocol (MCP)?
The README doesn't define MCP, but it's a protocol for which these tools are designed to work with.
Why is the proxy written in Go?
Why is the proxy written in Go?
Go compiles to a single executable, simplifying deployment and reducing dependencies.
How do I specify the HTTP endpoint for the proxy?
How do I specify the HTTP endpoint for the proxy?
Use the -endpoint
option when running the mcp-proxy
executable.
How do I specify the directory containing MCP executables for the server?
How do I specify the directory containing MCP executables for the server?
Use the -mcp-dir
option when running the mcp-server
executable.
How do I run the server in stdio mode?
How do I run the server in stdio mode?
Use the -stdio
option when running the mcp-server
executable.