mcp-server-llmling
Integrates with Codecov for tracking code coverage statistics and reporting.
Supports GitHub integration for repository management, tracking issues, pulls, stars and other GitHub project metrics.
Integrates with PyPI for package distribution and management information.
Connects with PyUp for monitoring and managing Python dependencies.
Uses YAML for configuration of LLM environments, including resources, prompts, tools, and global settings.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
mcp-server-llmling
mcp-server-llmling
Overview
mcp-server-llmling is a Model Context Protocol (MCP) server that serves resources, prompts and tools declared in an LLMling YAML configuration file. No code is needed to set up a custom MCP server.
Related MCP server: MCP YAML API
Installation
pip install mcp-server-llmling
# or run it directly
uvx mcp-server-llmling start path/to/your/config.ymlStatic Declaration: Define your LLM's environment in YAML - no code required
MCP Protocol: Built on the Model Context Protocol (MCP) for standardized LLM interaction
Component Types:
Resources: Content providers (files, text, CLI output, etc.)
Prompts: Message templates with arguments
Tools: Python functions callable by the LLM
The YAML configuration creates a complete environment that provides the LLM with:
Access to content via resources
Structured prompts for consistent interaction
Tools for extending capabilities
Key Features
1. Resource Management
Load and manage different types of resources:
Text files (
PathResource)Raw text content (
TextResource)CLI command output (
CLIResource)Python source code (
SourceResource)Python callable results (
CallableResource)Git repository content (
RepositoryResource)
Support for resource watching/hot-reload
Resource processing pipelines
URI-based resource access
2. Tool System
Register and execute Python functions as LLM tools
Support for OpenAPI-based tools
Entry point-based tool discovery
Tool validation and parameter checking
Structured tool responses
3. Prompt Management
Static prompts with template support
Dynamic prompts from Python functions
File-based prompts
Prompt argument validation
Completion suggestions for prompt arguments
4. Multiple Transport Options
Stdio-based communication (default)
Streamable HTTP and Server-Sent Events (SSE) for web clients
5. Config injection and Zed mode
Optional HTTP/WebSocket API to add or update components of a running server (
--enable-injection,mcp-server-llmling inject config.yml)--zed-modewraps multi-argument prompts for Zed editor compatibility
Usage
With Zed Editor
Add LLMLing as a context server in your settings.json:
{
"context_servers": {
"llmling": {
"command": {
"env": {},
"label": "llmling",
"path": "uvx",
"args": [
"mcp-server-llmling",
"start",
"path/to/your/config.yml"
]
},
"settings": {}
}
}
}With Claude Desktop
Configure LLMLing in your claude_desktop_config.json:
{
"mcpServers": {
"llmling": {
"command": "uvx",
"args": [
"mcp-server-llmling",
"start",
"path/to/your/config.yml"
],
"env": {}
}
}
}Manual Server Start
Start the server directly from command line:
# Latest version, stdio transport
uvx mcp-server-llmling@latest start path/to/your/config.yml
# Streamable HTTP on a custom port
uvx mcp-server-llmling start path/to/your/config.yml --transport streamable-http --port 3001
# Other commands
uvx mcp-server-llmling info
uvx mcp-server-llmling --help1. Programmatic usage
import asyncio
from llmling import RuntimeConfig
from mcp_server_llmling import LLMLingServer
async def main() -> None:
async with RuntimeConfig.open("config.yml") as runtime:
server = LLMLingServer(runtime, enable_injection=True)
await server.start()
asyncio.run(main())2. Using Custom Transport
import asyncio
from llmling import RuntimeConfig
from mcp_server_llmling import LLMLingServer
async def main() -> None:
async with RuntimeConfig.open("config.yml") as runtime:
server = LLMLingServer(
runtime,
transport="streamable-http",
# passed on to FastMCP.run_async()
transport_options={"host": "localhost", "port": 3001},
)
await server.start()
asyncio.run(main())3. Resource Configuration
resources:
python_code:
type: path
path: "./src/**/*.py"
watch:
enabled: true
patterns:
- "*.py"
- "!**/__pycache__/**"
api_docs:
type: text
content: |
API Documentation
================
...4. Tool Configuration
tools:
analyze_code:
import_path: "mymodule.tools.analyze_code"
description: "Analyze Python code structure"
toolsets:
api:
type: openapi
spec: "https://api.example.com/openapi.json"Server Configuration
The server is configured through a YAML file with the following sections:
global_settings:
timeout: 30
max_retries: 3
log_level: "INFO"
requirements: []
pip_index_url: null
extra_paths: []
resources:
# Resource definitions...
tools:
# Tool definitions...
toolsets:
# Toolset definitions...
prompts:
# Prompt definitions...MCP Protocol
The server implements the MCP protocol which supports:
Resource Operations
List available resources
Read resource content
Watch for resource changes
Tool Operations
List available tools
Execute tools with parameters
Get tool schemas
Prompt Operations
List available prompts
Get formatted prompts
Get completions for prompt arguments
Notifications
Resource changes
Tool/prompt list updates
Progress updates
Log messages
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
MCP server that lets your AI assistant build and deploy apps, hosting each one at a live URL.
An MCP server that provides an API to LLMs to manage their JumpCloud resources.
MCP server for building and testing AI agents with multi-model experimentation and insights.
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
Related MCP Servers
- FlicenseCqualityDmaintenanceThis is an MCP server that facilitates building tools for interacting with various APIs and workflows, supporting Python-based development with potential for customizable prompts and user configurations.1-
- AlicenseBqualityDmaintenanceA Model Context Protocol server that creates tools from API configurations defined in YAML files, allowing easy integration of external APIs into an MCP ecosystem without coding.733 npm7MIT
- AlicenseNot gradedqualityDmaintenanceTurns any YAML manifest into a fully-functional MCP server without hosting infrastructure, enabling custom tools, resources, and prompts via declarative configuration.MIT
- AlicenseNot gradedqualityDmaintenanceConfigurable MCP server that lets you define LLM-powered tools via JSON, enabling easy integration of multiple models (GPT, Gemini, Claude, etc.) as MCP tools without writing Python code.6MIT