A dynamic MCP server that allows AI to create and execute custom tools through a meta-function architecture
Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"ai-meta-mcp": {
"env": {
"ALLOW_JS_EXECUTION": "true",
"ALLOW_SHELL_EXECUTION": "false",
"ALLOW_PYTHON_EXECUTION": "false"
},
"args": [
"-y",
"ai-meta-mcp-server"
],
"command": "npx"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
A dynamic MCP server that allows AI models to create and execute their own custom tools through a meta-function architecture. This server provides a mechanism for AI to extend its own capabilities by defining custom functions at runtime.
Run this in your terminal to verify the server starts. Then let us know if it worked — your result helps other developers.
npx -y 'ai-meta-mcp-server' 2>&1 | head -1 && echo "✓ Server started successfully"
After testing, let us know if it worked:
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
Checked ai-meta-mcp-server against OSV.dev.
Click any tool to inspect its schema.
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in ai-ml / developer-tools
Dynamic problem-solving through sequential thought chains
Persistent memory using a knowledge graph
Read, write, and manage files on the local filesystem
A Model Context Protocol (MCP) server and CLI that provides tools for agent use when working on iOS and macOS projects.
MCP Security Weekly
Get CVE alerts and security updates for Ai Meta Mcp Server and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
A dynamic MCP server that allows AI models to create and execute their own custom tools through a meta-function architecture. This server provides a mechanism for AI to extend its own capabilities by defining custom functions at runtime.
⚠️ WARNING: This server allows for dynamic code execution. Use with caution and only in trusted environments.
npm install ai-meta-mcp-server
npx ai-meta-mcp-server
# Build the Docker image
docker build -t ai-meta-mcp-server .
# Run the container
docker run --rm -i ai-meta-mcp-server
# Run with custom configuration and persistent storage
docker run --rm -i \
-e ALLOW_PYTHON_EXECUTION=true \
-e ALLOW_SHELL_EXECUTION=false \
-v $(pwd)/data:/app/data \
ai-meta-mcp-server
Environment variables:
ALLOW_JS_EXECUTION: Enable JavaScript execution (default: true)ALLOW_PYTHON_EXECUTION: Enable Python execution (default: false)ALLOW_SHELL_EXECUTION: Enable Shell execution (default: false)PERSIST_TOOLS: Save tools between sessions (default: true)TOOLS_DB_PATH: Path to store tools database (default: "./tools.json")Add this to your claude_desktop_config.json:
{
"mcpServers": {
"ai-meta-mcp": {
"command": "npx",
"args": ["-y", "ai-meta-mcp-server"],
"env": {
"ALLOW_JS_EXECUTION": "true",
"ALLOW_PYTHON_EXECUTION": "false",
"ALLOW_SHELL_EXECUTION": "false"
}
}
}
}
In Claude Desktop, you can create a new tool like this:
Can you create a tool called "calculate_compound_interest" that computes compound interest given principal, rate, time, and compounding frequency?
Claude will use the define_function meta-tool to create your new tool, which becomes available for immediate use.
The server implements the Model Context Protocol (MCP) and provides a meta-tool architecture that enables AI-driven function registration and execution within safe boundaries.
MIT