directory
Version:
v0.0.2
Opens a new window with list of versions in this module.
Published: Dec 19, 2025
License: Apache-2.0
Opens a new window with license information.
README
¶
GraphQL Upstream Example
This example demonstrates how to configure MCP Any to connect to a GraphQL upstream service.
Running the Example
-
Start the GraphQL server:
go run ./upstream_service/graphql/server/server.go
-
Start the MCP Any server with the GraphQL configuration:
make run ARGS="--config-paths ./upstream_service/graphql/config.yaml"
-
Call the hello tool:
curl -X POST -H "Content-Type: application/json" \
-d '{"jsonrpc": "2.0", "method": "tools/call", "params": {"name": "graphql-hello", "arguments": {}}, "id": 1}' \
http://localhost:50050
Directories
¶
Package main implements a GraphQL upstream service demo.
|
Package main implements a GraphQL upstream service demo. |
Click to show internal directories.
Click to hide internal directories.