Skip to main content
Glama

AI Meta MCP Server

by alxspiker

AI Meta MCP 服务器

动态 MCP 服务器,允许 AI 模型通过元函数架构创建并执行自定义工具。该服务器提供了一种机制,允许 AI 通过在运行时定义自定义函数来扩展自身功能。

特征

  • 动态工具创建:AI 可以通过自定义实现来定义新工具
  • 多运行环境:支持 JavaScript、Python 和 Shell 执行
  • 沙盒安全:工具在隔离的沙盒中运行以确保安全
  • 持久性:在会话之间存储和加载自定义工具定义
  • 灵活的工具注册表:管理、列出、更新和删除自定义工具
  • 人工审批流程:工具创建和执行需要明确的人工审批

安全注意事项

⚠️警告:此服务器允许动态代码执行。请谨慎使用,并仅在受信任的环境中使用。

  • 所有代码都在沙盒环境中执行
  • 工具创建和执行需要人工审核
  • 可通过环境变量配置工具执行权限
  • 所有操作的审计日志

安装

npm install ai-meta-mcp-server

用法

运行服务器

npx ai-meta-mcp-server

配置

环境变量:

  • ALLOW_JS_EXECUTION :启用 JavaScript 执行(默认值:true)
  • ALLOW_PYTHON_EXECUTION :启用 Python 执行(默认值:false)
  • ALLOW_SHELL_EXECUTION :启用 Shell 执行(默认值:false)
  • PERSIST_TOOLS :在会话之间保存工具(默认值:true)
  • TOOLS_DB_PATH :存储工具数据库的路径(默认值:“./tools.json”)

使用 Claude Desktop 运行

将其添加到您的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" } } } }

工具创建示例

在 Claude Desktop 中,您可以创建一个这样的新工具:

Can you create a tool called "calculate_compound_interest" that computes compound interest given principal, rate, time, and compounding frequency?

Claude 将使用define_function元工具来创建您的新工具,该工具可立即使用。

建筑学

该服务器实现了模型上下文协议(MCP),并提供了一个元工具架构,使得人工智能驱动的功能在安全边界内注册和执行成为可能。

执照

麻省理工学院

-
security - not tested
F
license - not found
-
quality - not tested

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

使 AI 模型能够通过元功能架构动态创建和执行自己的自定义工具,支持具有沙盒安全性和人工审批流程的 JavaScript、Python 和 Shell 运行时。

  1. 特征
    1. 安全注意事项
      1. 安装
        1. 用法
          1. 运行服务器
          2. 配置
          3. 使用 Claude Desktop 运行
        2. 工具创建示例
          1. 建筑学
            1. 执照

              Related MCP Servers

              • -
                security
                A
                license
                -
                quality
                Provides code manipulation, execution, and version control capabilities. It allows AI assistants to read, write, and execute code while maintaining a history of changes.
                Last updated -
                8
                Python
                MIT License
              • A
                security
                A
                license
                A
                quality
                This server provides a minimal template for creating AI assistant tools using the ModelContextProtocol, featuring a simple 'hello world' tool example and development setups for building custom MCP tools.
                Last updated -
                1
                1
                8
                TypeScript
                The Unlicense
                • Apple
              • -
                security
                F
                license
                -
                quality
                Enables AI assistants to interact with Metabase databases and dashboards, allowing users to list and execute queries, access data visualizations, and interact with database resources through natural language.
                Last updated -
                25
                JavaScript
                • Apple
              • -
                security
                F
                license
                -
                quality
                A demonstration project that uses Cloudflare Workers MCP to create custom AI tools that can be integrated with Claude, Cursor, and other AI assistants supporting the Model Context Protocol.
                Last updated -
                26
                TypeScript

              View all related MCP servers

              MCP directory API

              We provide all the information about MCP servers via our MCP API.

              curl -X GET 'https://glama.ai/api/mcp/v1/servers/alxspiker/ai-meta-mcp-server'

              If you have feedback or need assistance with the MCP directory API, please join our Discord server