Skip to main content
Glama
linhanhan227

Python MCP Toolkit Server

by linhanhan227

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MCP_HOSTNoHTTP/SSE listen address.127.0.0.1
MCP_PORTNoHTTP/SSE listen port.8000
MCP_ENV_FILENoPath to the .env file to load on startup. Set empty to disable auto-load..env
MCP_TRANSPORTNoMCP transport: stdio, sse, or streamable-http.stdio
MCP_WORKSPACENoWorkspace root directory for file_operation..
MCP_AUTH_TOKENNoAuthorization token for HTTP/SSE requests.
TAVILY_API_KEYNoTavily API Key. Required if using provider=tavily explicitly.
TAVILY_API_URLNoTavily search API endpoint.https://api.tavily.com/search
MCP_ALLOW_WRITENoAllow file write, replace, copy, move, delete operations.false
MCP_AUTH_HEADERNoHeader name for authorization token.X-MCP-Auth-Token
MCP_SERVER_NAMENoServer name.python-mcp-toolkit
MCP_MAX_FILE_BYTESNoMaximum file size in bytes readable at once.2097152
MCP_STATELESS_HTTPNoWhether streamable-http requires client to maintain mcp-session-id.true
MCP_REQUEST_TIMEOUTNoHTTP request timeout in seconds.20
MCP_TOOLKIT_PLUGINSNoComma-separated list of plugin modules to load.

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
web_searchB

联网搜索公开网页,返回标题、URL 和摘要。

file_operationA

在 MCP_WORKSPACE 内执行文件操作;写入、复制、移动、删除需要 MCP_ALLOW_WRITE=true。

agentC

管理一个轻量 agent 任务状态,用于记录目标、步骤、进展和完成结果。

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/linhanhan227/termux-mcp'

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