Title: mcpcurl not support 'integer' type · Issue #687 · github/github-mcp-server · GitHub
Open Graph Title: mcpcurl not support 'integer' type · Issue #687 · github/github-mcp-server
X Title: mcpcurl not support 'integer' type · Issue #687 · github/github-mcp-server
Description: Describe the bug mcp not support integer type Steps to reproduce the behavior install mcpcurl and genai-toolbox $ go install github.com/googleapis/genai-toolbox@latest $ go install github.com/github/github-mcp-server/cmd/mcpcurl@latest g...
Open Graph Description: Describe the bug mcp not support integer type Steps to reproduce the behavior install mcpcurl and genai-toolbox $ go install github.com/googleapis/genai-toolbox@latest $ go install github.com/githu...
X Description: Describe the bug mcp not support integer type Steps to reproduce the behavior install mcpcurl and genai-toolbox $ go install github.com/googleapis/genai-toolbox@latest $ go install github.com/githu...
Opengraph URL: https://github.com/github/github-mcp-server/issues/687
X: @github
Domain: github.com
IPv4 address: 140.82.113.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"mcpcurl not support 'integer' type","articleBody":"### Describe the bug\n\nmcp not support integer type\n\n### Steps to reproduce the behavior\n\n1. install mcpcurl and genai-toolbox\n```\n$ go install github.com/googleapis/genai-toolbox@latest\n$ go install github.com/github/github-mcp-server/cmd/mcpcurl@latest\n```\n2. genai-toolbox config\n```\n$ echo mysql.yaml\nsources:\n my-mysql-source:\n kind: mysql\n host: localhost\n port: 3306\n database: classicmodels\n user: root\n password: p@55word\n queryTimeout: 30s # Optional: query timeout duration\ntools:\n search_products_by_max_price:\n kind: mysql-sql\n source: my-mysql-source\n statement: |\n SELECT * FROM products\n WHERE productLine like ?\n AND buyPrice \u003c= ?\n LIMIT 10\n description: |\n Use this tool to search products by product line and price.\n Example:\n {{\n \"product-line\": \"Ships\",\n \"max-price\": \"888\",\n }}\n Example:\n {{\n \"product-line\": \"%L%\",\n \"max-price\": 34,\n }}\n parameters:\n - name: product-line\n type: string\n description: productLine\n - name: max-price\n type: integer\n description: max price\n```\n3. reproduce\n```\nmcpcurl --stdio-server-cmd 'genai-toolbox --stdio --tools-file ./mysql.yaml' tools search_products_by_max_price --product-line \"Ships\" --max-price 100\nError: unknown flag: --max-price\nUsage:\n mcpcurl tools search_products_by_max_price [flags]\n\nFlags:\n -h, --help help for search_products_by_max_price\n --product-line string productLine\n\nGlobal Flags:\n --pretty Pretty print MCP response (only for JSON or JSONL responses) (default true)\n --stdio-server-cmd string Shell command to invoke MCP server via stdio (required)\n```","author":{"url":"https://github.com/bitsark","@type":"Person","name":"bitsark"},"datePublished":"2025-07-16T15:09:23Z","url":"https://github.com/github/github-mcp-server/issues/687"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:e8c13cde-ebec-6096-4a63-1fb71c9543ef |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E660:140253:45F44:63725:6B06B241 |
| html-safe-nonce | bc9a24eb5c7cecb3884877e13cf91e7b5b442198984f5508cd4f89f3d66c9e72 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNjYwOjE0MDI1Mzo0NUY0NDo2MzcyNTo2QjA2QjI0MSIsInZpc2l0b3JfaWQiOiI3NzE5ODQ4MjA5MDI3NjA5MTUzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 22b0053d65e9cbaa981ce335da195a2f9bc9799a8d076b87675e9b40ff212817 |
| hovercard-subject-tag | issue:3236351958 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/github/github-mcp-server/687/issue_layout |
| twitter:image | https://opengraph.githubassets.com/8df431f3e197c24c299d0000db58a49b153d2db5a48e9eacba3567a5e11d0b0d/github/github-mcp-server/issues/687 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/8df431f3e197c24c299d0000db58a49b153d2db5a48e9eacba3567a5e11d0b0d/github/github-mcp-server/issues/687 |
| og:image:alt | Describe the bug mcp not support integer type Steps to reproduce the behavior install mcpcurl and genai-toolbox $ go install github.com/googleapis/genai-toolbox@latest $ go install github.com/githu... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | bitsark |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9b2b1f32e21f9e529372294897d423fa443a20a3a37bafa95dec0f213469ebfc |
| turbo-cache-control | no-preview |
| go-import | github.com/github/github-mcp-server git https://github.com/github/github-mcp-server.git |
| octolytics-dimension-user_id | 9919 |
| octolytics-dimension-user_login | github |
| octolytics-dimension-repository_id | 942771284 |
| octolytics-dimension-repository_nwo | github/github-mcp-server |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 942771284 |
| octolytics-dimension-repository_network_root_nwo | github/github-mcp-server |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 5402de66059e5821fab003de929c7056c92d863f |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width