Skip to main content
Glama
alvii147

localhostmcp

by alvii147

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
requestA

Sends an HTTP request to localhost at given port, with given HTTP method, request body, and headers.

Parameters

port : int Port to send request to (e.g. port=8000 hits http://localhost:8000).

path : str Path to send request to (e.g. path=/foo/bar hits http://localhost:{port}/foo/bar).

method : str, HTTP method for request (e.g. GET, POST).

data : str, optional HTTP request body. Note: content type header is not set automatically, and must be set through "headers".

headers : dict, optional HTTP headers (e.g. {"Content-Type": "application/json"}).

Returns

int Response status code.

str Response data.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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/alvii147/localhostmcp'

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