Skip to content
Back to skills

Mcp Integration

ASecurity

Connect orxhestra agents to MCP tool servers using MCPClient and MCPToolAdapter.

  • 21 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added May 27, 2026
data-aipythonbashtesting

Works with

  • cli
  • mcp

Security analysis

A96/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro shows the line behind each finding and how to fix it

Scanned May 27, 2026

npx -y skills add NicolaiLassen/orxhestra --skill mcp-integration --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Mcp Integration?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Mcp Integration
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/nicolailassen-mcp-integration/badge)](https://www.skillsdirectory.com/skills/nicolailassen-mcp-integration)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: mcp-integration
description: Connect orxhestra agents to MCP tool servers using MCPClient and MCPToolAdapter.
---

# MCP Integration

Connect to any MCP-compatible tool server.

```bash
pip install orxhestra[mcp]
```

## Usage

```python
from orxhestra.integrations.mcp import MCPClient, MCPToolAdapter

client = MCPClient("http://localhost:8001/mcp")
adapter = MCPToolAdapter(client)
mcp_tools = await adapter.load_tools()

agent = LlmAgent(
    name="MCPAgent",
    model=model,
    tools=mcp_tools,
    instructions="Use the available tools to answer questions.",
)
```

## Testing with in-memory server

Pass a FastMCP server object directly (no HTTP needed):

```python
from fastmcp import FastMCP

server = FastMCP("TestServer")

@server.tool
def add(a: int, b: int) -> int:
    """Add two numbers."""
    return a + b

client = MCPClient(server)  # in-memory, no network
adapter = MCPToolAdapter(client)
tools = await adapter.load_tools()
```

`MCPToolAdapter.load_tools()` fetches the tool list from the MCP server and wraps each as a LangChain `BaseTool`.

## In YAML Composer

```yaml
tools:
  weather:
    mcp:
      url: "http://localhost:8001/mcp"
  local:
    mcp:
      server: "myapp.mcp_server.server"  # dotted import to FastMCP instance
```

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in data-ai →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.