mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-05 10:53:59 +00:00
feat: lead the MCP tool list with what the globe shows
MCP no longer lists place search, routing, plain weather and wind, the regional brief, the HUD caption, radio, bike share and transit. Assistants already cover these or they add little without the globe; voice keeps them, and tools that combine others still reach them.
This commit is contained in:
1 parent
d6473b6049
commit
af8856cedf
3 files changed
+43
-13
No files matched your search
@@ -4,7 +4,7 @@ import { PassThrough } from 'node:stream';
|
||||
import { createLocalMcpServer } from '../../server/mcp/server.js';
|
||||
import { createApiFetch } from '../../server/mcp/services.js';
|
||||
import { parseArgs, serveStdio } from '../../server/mcp/stdio.js';
|
||||
import { coreTools } from './index.js';
|
||||
import { coreTools, toolsForSurface } from './index.js';
|
||||
|
||||
const usgs = {
|
||||
type: 'FeatureCollection',
|
||||
@@ -70,7 +70,7 @@ test('the stdio server answers newline-delimited requests using only its data so
|
||||
// Every Core tool's services are composed locally.
|
||||
assert.deepEqual(
|
||||
byId.get(2).result.tools.map((tool) => tool.name),
|
||||
coreTools.map((tool) => tool.name),
|
||||
toolsForSurface(coreTools, 'mcp').map((tool) => tool.name),
|
||||
);
|
||||
assert.equal(
|
||||
byId.get(3).result.content[0].text,
|
||||
|
||||
Reference in new issue
Block a user