MCP LLM Integration Server

by raptor7197

Not rated
GitHub

About

An MCP server for integrating local Large Language Models with MCP-compatible clients.

Details

Author
raptor7197
Categories
Developer Tools, AI

Setup

Install MCP LLM Integration Server in your MCP client (Claude Desktop, Cursor, Windsurf, and others).

Repository: https://github.com/raptor7197/mcp-server

Follow the installation instructions in the repository README, then restart your MCP client.

An MCP server for integrating local Large Language Models with MCP-compatible clients.

This is a Model Context Protocol (MCP) server that allows you to integrate local LLM capabilities with MCP-compatible clients.

- llm_predict: Process text prompts through a local LLM
- echo: Echo back text for testing purposes

source .venv/bin/activate uv pip install mcp
python -c " import asyncio from main import server, list_tools, call_tool async def test(): tools = await list_tools() print(f'Available tools: {[t.name for t in tools]}') result = await call_tool('echo', {'text': 'Hello!'}) print(f'Result: {result[0].text}') asyncio.run(test()) "

Add this to your Claude Desktop configuration (~/.config/claude-desktop/claude_desktop_config.json):

{ "mcpServers": { "llm-integration": { "command": "/home/tandoori/Desktop/dev/mcp-server/.venv/bin/python", "args": ["/home/tandoori/Desktop/dev/mcp-server/main.py"] } } }

Add this to your Continue configuration (~/.continue/config.json):

{ "mcpServers": [ { "name": "llm-integration", "command": "/home/tandoori/Desktop/dev/mcp-server/.venv/bin/python", "args": ["/home/tandoori/Desktop/dev/mcp-server/main.py"] } ] }
{ "llm-integration": { "command": "/home/tandoori/Desktop/dev/mcp-server/.venv/bin/python", "args": ["/home/tandoori/Desktop/dev/mcp-server/main.py"] } }

To integrate your own local LLM, modify theperform_llm_inferencefunction inmain.py:

async def perform_llm_inference(prompt: str, max_tokens: int = 100) -> str: Example: Using transformers from transformers import pipeline generator = pipeline('text-generation', model='your-model') result = generator(prompt, max_length=max_tokens) return result[0]['generated_text'] Example: Using llama.cpp python bindings from llama_cpp import Llama llm = Llama(model_path="path/to/your/model.gguf") output = llm(prompt, max_tokens=max_tokens) return output['choices'][0]['text'] Current placeholder implementation return f"Processed prompt: '{prompt}' (max_tokens: {max_tokens})"

Run the server directly to test JSON-RPC communication:

source .venv/bin/activate python main.py
{"jsonrpc": "2.0", "id": 1, "method": "initialize", "params": {"protocolVersion": "2024-11-05", "capabilities": {}, "clientInfo": {"name": "test-client", "version": "1.0.0"}}}

This is a web browser that enables your coding agent, such as Claude Code, to visit websites on your behalf and assist you in identifying bugs or creating UI test cases.

next-devtools-mcp is a MCP server that provides Next.js development tools and utilities for AI coding assistants like Claude and Cursor.

Word search, crossword, and sudoku generator MCP server with printable PDF worksheets, themed word banks, and verifiable LLM evals. Local-first, from the makers of puzzletide.com.

A demonstration server for ActionKit, providing access to Slack actions via Claude Desktop.

MCP server that lets Claude Code agents delegate tasks to agents in other project directories, with parallel dispatch, sessions, and async jobs.

Statistical regression testing for LLM agents: p-value, effect size, and CI on behavior change.

A Python MCP package that gives your LLM agents complete file system and shell capabilities — production-ready, sandboxed, and wired to any LLM in minutes.

Integrates with Google AI Studio/Gemini API for PDF to Markdown conversion and content generation.

Anchor Browser (https://anchorbrowser.io) is secure infrastructure for computer-use agents — stealth cloud browsers, authentication, captcha bypass, and a hosted MCP server for Cursor, Claude, and Windsurf.

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.