Integration · MODEL CONTEXT PROTOCOL

gbti network mcp basic test

Example node MCP server. When a user asks the agent for the passphrase, a special code phase is provided.

WHAT IT CONNECTS

gbti network mcp basic test 为 AI Agent 提供什么

  • Pure Node.js implementation
  • JSON-RPC 2.0 compliant
  • MCP protocol version: 2024-11-05
  • Custom logging system
  • Tool support with schema validation
  • STDIO transport
  • Node.js (Latest LTS version recommended)
  • MCP Inspector for testing
  • Clone the repository:
  • Install dependencies:
  • New England Clam Chowder
  • Louisiana Gumbo
  • Texas Chili
  • California Cioppino
  • Michigan Cherry Soup
  • Define your tool in `index.js`:
  • Test using MCP Inspector:
  • Connect to server
  • Use "List Tools" to verify tool registration
  • Test tool execution
  • DEBUG: Detailed debugging information
  • INFO: General operational information
  • WARN: Warning messages
  • ERROR: Error conditions
  • "What's the secret passcode?"
  • "Tell me the secret code"
  • "What's today's passcode?"
  • "Give me the secret"
  • `super-secret`: A unique identifier for your MCP server
  • `command`: The command to start the server (npx in this case)
  • `args`: Command line arguments
  • `--yes`: Auto-approve npm package installation
  • `node`: Run with Node.js
  • `<path-to-project>/index.js`: Path to your server file
  • `disabled`: Whether the server is disabled
  • `autoApprove`: List of tools that can be run without user confirmation
  • Windows: `%USERPROFILE%\.codeium\windsurf\mcp_config.json`
  • macOS/Linux: `$HOME/.codeium/windsurf/mcp_config.json`
  • Start the server with MCP Inspector
  • Verify server initialization
  • Check tool listing
  • Test tool execution
  • Verify response formats
  • Fork the repository
  • Create your feature branch
  • Commit your changes
  • Push to the branch
  • Create a Pull Request
  • Model Context Protocol team for the protocol specification
  • MCP Inspector team for the testing tool
  • **[Twitter/X](https://twitter.com/gbti_network)**
  • **[GitHub](https://github.com/gbti-network)**
  • **[YouTube](https://www.youtube.com/channel/UCh4FjB6r4oWQW-QFiwqv-UA)**
  • **[Dev.to](https://dev.to/gbti)**
  • **[Daily.dev](https://dly.to/zfCriM6JfRF)**
  • **[Hashnode](https://gbti.hashnode.dev/)**
  • **[Discord](https://gbti.network/membership)**
  • **[Reddit](https://www.reddit.com/r/GBTI_network)**

SECURITY

MCP 收录不等于安全审核

MCP 服务器可能获得模型上下文、凭据、本地文件或调用外部系统的权限。连接 Agent 前,请检查代码、环境变量、网络行为、软件包来源与维护状态。