HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
poly-mcp
polymcp
HISTORICAL RECORD2025–2026
poly-mcp / polymcp · Not publicly available

polymcp

Discover this repository through its Hacker News conversations.

2Distinct people
26Mentions
0Explicit recommenders
REPOSITORY AT A GLANCE

What to know before exploring

What it is

A public description has not been verified.

Where it is used

No documented product use has been verified yet.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 1:49:46 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by week26 dated mentions

Observed mentions: 2025-11-29 15:28:11 UTC to 2026-02-19 22:07:49 UTC. Weeks start Monday, UTC.

02462025-11-24 00:00:00 UTC to 2025-12-01 00:00:00 UTC (exclusive): 1 mentions; 1 submissions, 0 commentsNov 242025-12-01 00:00:00 UTC to 2025-12-08 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-12-08 00:00:00 UTC to 2025-12-15 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-12-15 00:00:00 UTC to 2025-12-22 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-12-22 00:00:00 UTC to 2025-12-29 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-12-29 00:00:00 UTC to 2026-01-05 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2026-01-05 00:00:00 UTC to 2026-01-12 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 commentsJan 52026-01-12 00:00:00 UTC to 2026-01-19 00:00:00 UTC (exclusive): 4 mentions; 4 submissions, 0 comments2026-01-19 00:00:00 UTC to 2026-01-26 00:00:00 UTC (exclusive): 5 mentions; 5 submissions, 0 comments2026-01-26 00:00:00 UTC to 2026-02-02 00:00:00 UTC (exclusive): 4 mentions; 4 submissions, 0 comments2026-02-02 00:00:00 UTC to 2026-02-09 00:00:00 UTC (exclusive): 1 mentions; 1 submissions, 0 comments2026-02-09 00:00:00 UTC to 2026-02-16 00:00:00 UTC (exclusive): 7 mentions; 6 submissions, 1 comments2026-02-16 00:00:00 UTC to 2026-02-23 00:00:00 UTC (exclusive): 3 mentions; 3 submissions, 0 commentsFeb 16

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
Nov 242025-11-24 00:00:00 UTC2025-12-01 00:00:00 UTC110
Dec 12025-12-01 00:00:00 UTC2025-12-08 00:00:00 UTC000
Dec 82025-12-08 00:00:00 UTC2025-12-15 00:00:00 UTC000
Dec 152025-12-15 00:00:00 UTC2025-12-22 00:00:00 UTC000
Dec 222025-12-22 00:00:00 UTC2025-12-29 00:00:00 UTC000
Dec 292025-12-29 00:00:00 UTC2026-01-05 00:00:00 UTC101
Jan 52026-01-05 00:00:00 UTC2026-01-12 00:00:00 UTC000
Jan 122026-01-12 00:00:00 UTC2026-01-19 00:00:00 UTC440
Jan 192026-01-19 00:00:00 UTC2026-01-26 00:00:00 UTC550
Jan 262026-01-26 00:00:00 UTC2026-02-02 00:00:00 UTC440
Feb 22026-02-02 00:00:00 UTC2026-02-09 00:00:00 UTC110
Feb 92026-02-09 00:00:00 UTC2026-02-16 00:00:00 UTC761
Feb 162026-02-16 00:00:00 UTC2026-02-23 00:00:00 UTC330

What Hacker News says

26 sources
justvugg·Feb 19, 2026Submission

Show HN:PolyMCP Python Tools with Autonomous Agents

PolyMCP is a framework that exposes functions (in Python or TypeScript) as MCP tools, serves them through standardized MCP servers, and orchestrates them with autonomous agents capable of planning and executing complex workflows. With PolyMCP, you can: 1. Expose existing functions (in Python or TypeScript) as MCP tools without rewriting the code. 2. Use the PolyClaw agent to dynamically orchestrate tools, break down complex tasks, and adapt to failures, all running in isolated environments via Docker. PolyMCP is ideal for enterprise automation, DevOps, data pipelines, and internal tool orchestration. GitHub Repo: https://github.com/poly-mcp/PolyMCP
1 points · Open discussion
justvugg·Feb 17, 2026Submission

Show HN: PolyClaw – Autonomous Docker-First MCP Agent for PolyMCP

I built PolyClaw, an autonomous agent for the PolyMCP ecosystem inspired by OpenClaw. PolyClaw doesn’t just call tools. It plans, executes, adapts — and even creates MCP servers when needed. It’s designed for real-world, multi-step production workflows where an agent must: • Orchestrate multiple tools • Spin up infrastructure dynamically • Recover from failures • Deliver complete, end-to-end results ⸻ What PolyClaw Does • Decomposes complex tasks into executable steps • Dynamically selects and orchestrates MCP tools • Spins up or connects to MCP servers on demand • Adapts if execution fails or context changes • Validates outputs before proceeding • Runs Docker-first for isolation and safety • Built with Python + TypeScript PolyClaw is not just a tool-caller — it’s an infrastructure-aware agent. ⸻ Run PolyClaw (via PolyMCP CLI)
Read the rest
polymcp agent run \ --type polyclaw \ --query "Build a sales reporting pipeline and test it end-to-end" \ --model minimax-m2.5:cloud \ --verbose What happens behind the scenes: 1. The task is decomposed into structured steps 2. Required MCP tools are identified 3. MCP servers are started or connected 4. Steps execute (sequentially or in parallel) 5. Outputs are validated 6. Failures trigger adaptive replanning 7. A complete, end-to-end result is returned All containerized. All isolated. ⸻ Why This Matters Most AI agents today: • Call tools statically • Assume infrastructure already exists • Break on multi-step failures PolyClaw instead: • Builds the infrastructure it needs • Orchestrates across multiple MCP servers • Handles retries and adaptive planning • Is safe to run in Dockerized environments This makes it viable for: • Enterprise workflows • DevOps automation • Data pipelines • Internal tooling orchestration • Complex multi-tool reasoning tasks PolyClaw turns PolyMCP from simple tool exposure into a fully autonomous orchestration layer. Repo: https://github.com/poly-mcp/PolyMCP Happy to answer questions.
1 points · Open discussion
justvugg·Feb 16, 2026Submission

Show HN: PolyClaw – An Autonomous Docker-First MCP Agent for PolyMCP

I built PolyClaw, an OpenClaw-inspired autonomous agent for the PolyMCP ecosystem. PolyClaw doesn’t just call tools. It plans, executes, adapts — and creates MCP servers when needed. It’s designed for real multi-step, production workflows where agents must orchestrate tools, spin up infrastructure, recover from errors, and deliver complete results end-to-end. ⸻ What PolyClaw Does • Plans complex multi-step tasks • Executes and orchestrates MCP tools dynamically • Adapts when steps fail or context changes • Creates and connects MCP servers on the fly • Runs Docker-first for safety and isolation • Built with Python and TypeScript PolyClaw is not just a tool caller — it’s an infrastructure-aware agent. ⸻ Run PolyClaw with Ollama You can launch PolyClaw directly from the PolyMCP CLI: polymcp agent run \ --type polyclaw \ --query "Bu
Read the rest
ild a sales reporting pipeline and test it end-to-end" \ --model minimax-m2.5:cloud \ --verbose What happens behind the scenes: 1. The agent decomposes the task. 2. It determines which MCP tools are required. 3. It spins up or connects to MCP servers. 4. It executes steps in sequence (or parallel when needed). 5. It validates outputs. 6. It adapts if something fails. 7. It returns a complete result. All containerized. All isolated. ⸻ Why This Matters Most AI agents: • Call tools statically • Assume infrastructure already exists • Break on multi-step failure PolyClaw: • Builds the infrastructure it needs • Orchestrates across multiple MCP servers • Handles retries and adaptive planning • Is safe to run in Dockerized environments This makes it viable for: • Enterprise workflows • DevOps automation • Data pipelines • Internal tooling orchestration • Complex multi-tool reasoning tasks PolyClaw turns PolyMCP from simple tool exposure only with Polyagent e unifiendpolyagent or codeagent but turn into full autonomous orchestration agent too. Repo: https://github.com/poly-mcp/PolyMCP Happy to answer questions,
1 points · Open discussion
justvugg·Feb 15, 2026Submission

Show HN: PolyMCP – A framework for structuring and orchestrating MCP agents

I’ve been working on PolyMCP, an open-source framework designed to make it easier to build and coordinate agents using the Model Context Protocol (MCP). Most MCP tooling today focuses primarily on exposing tools. PolyMCP instead targets the agent layer: how to structure agents properly, connect them to multiple MCP servers, and make them reliable in real-world workflows. PolyMCP provides: • A clean way to implement MCP-compatible tool servers in Python or TypeScript • An agent abstraction that can connect to multiple MCP endpoints (stdio, HTTP, etc.) • Built-in orchestration primitives for handling multi-step tasks • A CLI to scaffold projects and run an inspector UI to debug tools and agent interactions • A modular architecture that makes it easier to compose skills and reuse components across projects The goal is to reduce ad-hoc g
Read the rest
lue code between models and tools. Instead of manually wiring everything together for each new setup, PolyMCP offers a structured way to: • Register tools as MCP servers • Attach them to one or more agents • Explicitly manage execution flow and state • Inspect and debug interactions It’s MIT licensed and aimed at developers building production-grade automation, internal copilots, or multi-tool assistants. Repository: https://github.com/poly-mcp/PolyMCP
1 points · Open discussion
justvugg·Feb 13, 2026Submission

Show HN: PolyMCP – Orchestrate AI agents across Python tools and MCP servers

Hi everyone, I am Vincenzo and i’m working on PolyMCP, an open-source framework that not only exposes Python functions as AI-callable MCP tools but also lets you orchestrate agents across multiple MCP servers. The idea: instead of rewriting code or wrapping every function with a special SDK, you can: 1. Publish your existing Python functions as MCP tools automatically 2. Spin up a UnifiedPolyAgent that coordinates multiple MCP servers 3. Ask your agent to perform complex workflows spanning different tools Here’s a quick example in Python: from polymcp.polyagent import UnifiedPolyAgent, OpenAIProvider agent = UnifiedPolyAgent( llm_provider=OpenAIProvider(model="gpt-4o-mini"), mcp_servers=[ "http://localhost:8000/mcp", "http://localhost:8001/mcp", ], verbose=True, ) answer = agent.run("Read sales data, com
Read the rest
pute totals, then summarize.") print(answer) Or TypeScript, combining HTTP and stdio-based MCP tools: import { UnifiedPolyAgent, OpenAIProvider } from 'polymcp-ts'; const agent = new UnifiedPolyAgent({ llmProvider: new OpenAIProvider({ apiKey: process.env.OPENAI_API_KEY!, model: 'gpt-4o-mini', }), mcpServers: ['http://localhost:3000/mcp'], stdioServers: [{ command: 'npx', args: ['@playwright/mcp@latest'] }], verbose: true, }); await agent.start(); const answer = await agent.run('Collect data and summarize.'); console.log(answer); Use cases: • Aggregate data from multiple internal services and scripts • Build AI copilots that span different tools and languages • Automate multi-step operational workflows • Prototype agents that interact with production systems safely Works with OpenAI, Anthropic, and Ollama models, including local deployments. GitHub links: • Core & Agent: https://github.com/poly-mcp/PolyMCP • Inspector: https://github.com/poly-mcp/PolyMCP-Inspector • SDK Apps: https://github.com/poly-mcp/PolyMCP-MCP-SDK-Apps I’d love feedback from anyone exploring agent orchestration or building multi-tool AI pipelines.
1 points · Open discussion
justvugg·Feb 12, 2026Submission

Show HN: PolyMCP – Run MCP Python Tools in WASM via Pyodide

PolyMCP now supports compiling Python MCP tools to WebAssembly using Pyodide. This means any Python function exposed as an MCP tool can now run directly in the browser, Node.js, or edge workers, fully sandboxed, without a Python server. Compile your tools, serve the bundle, and AI agents can call them instantly in WASM environments. Existing MCP features like input validation, error handling, and tool orchestration work seamlessly. example: from polymcp.polymcp_toolkit import expose_tools_wasm def add(a: int, b: int) -> int: """Add two numbers""" return a + b compiler = expose_tools_wasm([add]) bundle = compiler.compile(output_dir="./dist") Open dist/demo.html in your browser — the add tool runs entirely in WASM. Why it matters • No Python server required: runs client-side or on edge • Secure: sandboxed execution • Plug-and-pla
Read the rest
y: multiple tools in one WASM bundle • Ideal for interactive demos, edge AI apps, or browser-based automation Repo: https://github.com/poly-mcp/Polymcp
2 points · Open discussion
justvugg·Feb 11, 2026Submission

Show HN: PolyMCP – Expose Python functions as MCP tools

Hi HN, I built PolyMCP, an open-source framework around the Model Context Protocol (MCP) that lets you expose existing Python functions as AI-callable tools — without rewriting them or adopting a custom SDK. The goal is simple: If you already have working Python code, you should be able to make it accessible to LLM agents in minutes. What it does PolyMCP introspects regular Python functions and exposes them as MCP tools automatically. No decorators required. No framework lock-in. It grew into a small ecosystem: • PolyMCP (core) – Turn Python functions into MCP tools • PolyMCP Inspector – A visual UI to browse, test, and debug MCP servers • MCP SDK Apps – A lightweight way to build AI-powered apps with tools + UI resources Why I built this While experimenting with MCP and AI agents, I found that integrating existing codebases was often
Read the rest
the painful part. Most solutions require rewriting logic around a specific SDK or heavily annotating functions. PolyMCP focuses on: • Minimal intrusion into existing code • Clean separation between business logic and AI tooling • Easy debugging via a visual inspector Example use cases • Expose internal APIs or legacy scripts to LLM agents • Automate operational workflows • Build internal copilots over real systems • Prototype AI agents that interact with production services Works with OpenAI, Anthropic, and Ollama (including local models). It’s still evolving and I’m actively iterating. I’d really appreciate feedback — especially from people building agents or experimenting with MCP in production environments. GitHub: • Core: https://github.com/poly-mcp/PolyMCP • Inspector: https://github.com/poly-mcp/PolyMCP-Inspector • SDK Apps: https://github.com/poly-mcp/PolyMCP-MCP-SDK-Apps Happy to answer technical questions.
2 points · Open discussion
justvugg·Feb 11, 2026Submission

Show HN: PolyMCP – Turn any Python function into AI-callable tools, instantly

I built PolyMCP, an open-source framework that lets any Python function become an MCP tool usable by AI agents — no rewrites, decorators, or custom SDKs needed. Features: • Expose Python functions as MCP tools (core framework) • PolyMCP Inspector: visual UI to browse, test, and debug servers • MCP SDK Apps: build full AI-powered apps with tools + UI resources Real use cases: • Turn existing APIs into AI-callable tools • Automate internal workflows without rewriting legacy code • Build dashboards, copilots, or support tools Supports LLMs like OpenAI, Anthropic, and Ollama (including local models). Repo: https://github.com/poly-mcp/PolyMCP Inspector: https://github.com/poly-mcp/PolyMCP-Inspector SDK Apps: https://github.com/poly-mcp/PolyMCP-MCP-SDK-Apps Feedback welcome from anyone building AI agents or internal tools!
1 points · Open discussion
justvugg·Feb 10, 2026Submission

Show HN: PolyMCP – AI-Callable Python and TS Tools with Inspector and Apps

I built PolyMCP, an open-source framework around the Model Context Protocol (MCP) that lets you turn any existing Python function into an MCP tool usable by AI agents — with no rewrites, no glue code, no custom wrappers. Over the last weeks, PolyMCP has grown into a small ecosystem: • PolyMCP (core) – expose Python functions as MCP tools • PolyMCP Inspector – visual UI to explore, test, and debug MCP servers • PolyMCP MCP SDK Apps – build MCP-powered apps with tools + UI resources ⸻ 1) Turn any Python function into an MCP tool Basic example: from polymcp import expose_tools_http def add(a: int, b: int) -> int: """Add two numbers""" return a + b app = expose_tools_http( tools=[add], title="Math Tools" ) Run it: uvicorn server_mcp:app --reload Now add is an MCP-compliant tool that any AI agent can discover and call. No de
Read the rest
corators, no schema files, no agent-specific SDKs. ⸻ 2) Real APIs, not toy examples Existing API code works as-is: import requests from polymcp import expose_tools_http def get_weather(city: str): """Return current weather data for a city""" response = requests.get( f"https://api.weatherapi.com/v1/current.json?q={city}" ) return response.json() app = expose_tools_http([get_weather], title="Weather Tools") Agents can now call: get_weather("London") and receive real-time data. ⸻ 3) Business & internal workflows Example: internal reporting logic reused directly by agents. import pandas as pd from polymcp import expose_tools_http def calculate_commissions(sales_data: list[dict]): """Calculate sales commissions from sales data""" df = pd.DataFrame(sales_data) df["commission"] = df["sales_amount"] * 0.05 return df.to_dict(orient="records") app = expose_tools_http([calculate_commissions], title="Business Tools") No rewriting legacy logic. 4) PolyMCP Inspector (visual debugging) To make MCP development usable in practice, I added PolyMCP Inspector: • Visual UI to browse tools, prompts, and resources • Call MCP tools interactively • Inspect schemas, inputs, outputs, and errors • Multi-server support (HTTP + stdio) • Built-in chat playground (OpenAI / Anthropic / Ollama) Think “Postman + DevTools” for MCP servers. Repo: https://github.com/poly-mcp/PolyMCP-Inspector ⸻ 5) MCP SDK Apps (tools + UI) The latest addition is PolyMCP MCP SDK Apps: • Build MCP apps, not just tools • Expose: • tools • UI resources (HTML/JS dashboards) • app-level workflows • Let agents interact with both tools and UIs This is useful for: • internal copilots • ops dashboards • support tools • enterprise AI frontends Repo: https://github.com/poly-mcp/PolyMCP-MCP-SDK-Apps ⸻ Why this matters (especially for companies) • Reuse existing code immediately (scripts, APIs, internal libs) • Standard MCP interface instead of vendor-specific agent SDKs • Multiple tools, one server • Agent-driven orchestration, not hardcoded flows • Faster AI adoption without refactoring everything PolyMCP treats AI agents as clients of your software, not magic wrappers around it. ⸻ Repos • Core framework: https://github.com/poly-mcp/PolyMCP • Inspector UI: https://github.com/poly-mcp/PolyMCP-Inspector • MCP SDK Apps: https://github.com/poly-mcp/PolyMCP-MCP-SDK-Apps Happy to hear feedback from people building MCP servers, agents, or internal AI tools.
2 points · Open discussion
justvugg·Feb 2, 2026Submission

Show HN: Polymcp and Ollama for Simple Local and Cloud LLM Execution

We’ve added first-class Ollama support to Polymcp to make running large language models easy—whether you’re working locally or deploying in the cloud. By using Ollama as a backend provider, Polymcp can coordinate MCP servers and models with minimal configuration. This lets you focus on building agents instead of wiring infrastructure. from polymcp.polyagent import PolyAgent, OllamaProvider agent = PolyAgent( llm_provider=OllamaProvider(model="gpt-oss:120b"), mcp_servers=["http://localhost:8000/mcp"] ) result = agent.run("What is the capital of France?") print(result) What this enables: • Clean orchestration: Polymcp manages MCP servers while Ollama handles model execution. • Same workflow, everywhere: Run the same setup on your laptop or in the cloud. • Flexible model choice: Works with models like gpt-oss:120b, Kimi K2, Nemotr
Read the rest
on, and others supported by Ollama. The goal is to provide a straightforward way to experiment with and deploy LLM-powered agents without extra glue code. Would love feedback or ideas on how you’d use this. Repo: https://github.com/poly-mcp/Polymcp
1 points · Open discussion
justvugg·Feb 1, 2026Submission

Show HN: PolyMCP – Expose Python/TS functions as MCP tools easily

I built PolyMCP to make it trivial to expose existing functions as MCP tools, without rewriting logic or adding much glue code. The goal: take “normal” Python or TypeScript functions and instantly make them usable by MCP clients (Claude Desktop, agents, Ollama, etc.). Python example from polymcp.polymcp_toolkit import expose_tools def greet(name: str) -> str: """Say hello.""" return f"Hello, {name}!" def add(a: int, b: int) -> int: """Add two numbers.""" return a + b app = expose_tools([greet, add], title="My MCP Tools") Run with: uvicorn server:app --reload MCP endpoints appear at: • /mcp/list_tools • /mcp/invoke TypeScript example import { z } from "zod"; import { tool, exposeTools } from "polymcp"; const uppercaseTool = tool({ name: "uppercase", description: "Convert text to uppercase", inputSchema: z.object({ t
Read the rest
ext: z.string() }), function: async ({ text }) => text.toUpperCase(), }); const app = exposeTools([uppercaseTool], { title: "Text Tools" }); app.listen(3000); More “real” example (Python) import pandas as pd from polymcp.polymcp_toolkit import expose_tools def calculate_commissions(sales_data: list[dict]): df = pd.DataFrame(sales_data) df["commission"] = df["sales_amount"] * 0.05 return df.to_dict(orient="records") app = expose_tools([calculate_commissions], title="Business Tools") What you get • Reuse existing code with minimal changes • MCP-compatible (Claude Desktop, agents, Ollama, etc.) • HTTP, stdio, and WASM support • Automatic input validation • Basic production features (budgets, retries, redaction, logs) • Built-in inspector for testing and monitoring Install • Python: pip install polymcp • TypeScript: clone repo → cd polymcp-ts → npm install → npm run build Repo: https://github.com/poly-mcp/Polymcp Curious what kind of function people would expose first if it was this easy. Feedback very welcome.
1 points · Open discussion
justvugg·Jan 28, 2026Submission

Show HN: PolyMCP – Expose Python/TS functions as MCP tools easily

I made PolyMCP so I could quickly turn normal functions (Python or TypeScript) into MCP tools without much extra work. Python example: from polymcp.polymcp_toolkit import expose_tools def greet(name: str) -> str: """Say hello.""" return f"Hello, {name}!" def add(a: int, b: int) -> int: """Add two numbers.""" return a + b app = expose_tools([greet, add], title="My MCP Tools") Run with: uvicorn server:app --reload MCP endpoints appear at /mcp/list_tools and /mcp/invoke/. TypeScript example: import { z } from 'zod'; import { tool, exposeTools } from 'polymcp'; const uppercaseTool = tool({ name: 'uppercase', description: 'Convert text to uppercase', inputSchema: z.object({ text: z.string() }), function: async ({ text }) => text.toUpperCase(), }); const app = exposeTools([uppercaseTool], { title: "Text Tools" }); app.li
Read the rest
sten(3000); Business example (Python): import pandas as pd from polymcp.polymcp_toolkit import expose_tools def calculate_commissions(sales_data: list[dict]): df = pd.DataFrame(sales_data) df["commission"] = df["sales_amount"] * 0.05 return df.to_dict(orient="records") app = expose_tools([calculate_commissions], title="Business Tools") What you get: • Reuse existing code with minimal changes • Compatible with MCP clients (Claude Desktop, agents, Ollama, etc.) • HTTP and stdio and Wasm support • Automatic validation • Basic production features (budgets, retries, redaction, logs) • Inspector: polymcp inspector for testing/monitoring Install: • Python: pip install polymcp • TypeScript: clone repo → cd polymcp-ts → npm install → npm run build Repo: https://github.com/poly-mcp/Polymcp Curious what kind of function people would expose first if it was this simple. Feedback welcome.
1 points · Open discussion
justvugg·Jan 27, 2026Submission

Show HN: PolyMCP – Expose Python and TypeScript Functions as MCP Tools

I built PolyMCP, a framework that lets you transform any Python or TypeScript function into an MCP (Model Context Protocol) tool ready to be used by AI agents — no rewriting, no complex integrations. Examples Python function: from polymcp.polymcp_toolkit import expose_tools_http def add(a: int, b: int) -> int: """Add two numbers""" return a + b app = expose_tools_http([add], title="Math Tools") Run with: uvicorn server_mcp:app --reload AI agents can now call add(3, 4) directly. TypeScript function: import { z } from 'zod'; import { tool, exposeToolsHttp } from 'polymcp'; const uppercaseTool = tool({ name: 'uppercase', description: 'Convert text to uppercase', inputSchema: z.object({ text: z.string() }), function: async ({ text }) => text.toUpperCase(), }); const app = exposeToolsHttp([uppercaseTool], { title: "Text Tools"
Read the rest
}); app.listen(3000); Agents can call uppercase("hello") and get "HELLO" instantly. Business workflow function (Python example): import pandas as pd from polymcp.polymcp_toolkit import expose_tools_http def calculate_commissions(sales_data: list[dict]): df = pd.DataFrame(sales_data) df["commission"] = df["sales_amount"] * 0.05 return df.to_dict(orient="records") app = expose_tools_http([calculate_commissions], title="Business Tools") Now AI agents can generate reports automatically. Why it matters • Reuse existing code immediately: legacy scripts, internal libraries, APIs. • Automate workflows: AI can orchestrate multiple tools reliably. • Cross-language: expose Python and TypeScript functions on the same MCP server. • Plug-and-play: no custom wrappers or middleware needed. • Built-in reliability: input/output validation and error handling included. PolyMCP makes any Python or TypeScript function immediately usable by AI agents, standardizing integration across enterprise software. Repo: https://github.com/poly-mcp/Polymcp
1 points · Open discussion
justvugg·Jan 26, 2026Submission

Show HN: PolyMCP Skills – Scalable Tool Organization for MCP-Based AI Agents

Hi everyone, I added a skills system to PolyMCP to solve a common issue with MCP servers at scale. When the number of tools grows: • Agents burn tokens loading raw schemas • Tool discovery becomes noisy • Different agents need different subsets of tools • Orchestration logic leaks into prompts Skills are curated, structured sets of MCP tools with documentation. Agents load only the skills they need instead of full tool schemas. Skills are generated by discovering tools from MCP servers and auto-categorizing them. Example: generate skills from a Playwright MCP server: polymcp skills generate --servers "npx @playwright/mcp@latest" HTTP MCP servers: polymcp skills generate \ --servers "http://localhost:8000/mcp" \ --output ./mcp_skills Stdio MCP servers: polymcp skills generate \ --stdio \ --servers "npx -y @playwright/mcp@latest
Read the rest
" \ --output ./mcp_skills Enable skills in an agent: agent = UnifiedPolyAgent( llm_provider=llm, skills_enabled=True, skills_dir="./mcp_skills", ) Benefits: • Smaller agent context • Scales to large tool sets • Reusable capabilities across agents • Tool access control without prompt changes • Works with HTTP and stdio MCP servers Repo: https://github.com/poly-mcp/Polymcp
1 points · Open discussion

Showing the 15 most recent of 26 sources. Enable JavaScript to search and browse every indexed mention.

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.