Skip to main content
Glama

Excel MCP Server

by zhiwei5576
MIT License
99
41
  • Linux
  • Apple
index.ts932 B
#!/usr/bin/env node import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js"; import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js"; import packageJson from '../package.json' with { type: "json" }; import { structureTools } from "./tools/structureTools.js"; import { writeTools } from "./tools/writeTools.js"; import { readTools } from "./tools/readTools.js"; import { cacheTools } from "./tools/cacheTools.js"; import { initializeLogger } from "./handlers/logHandlers.js"; // Create an MCP server const server = new McpServer({ name: "excel-mcp-server", version: packageJson.version }); // 初始化日志清理器 initializeLogger(); // 注册工具 structureTools(server); readTools(server); writeTools(server); cacheTools(server); // Start receiving messages on stdin and sending messages on stdout const transport = new StdioServerTransport(); await server.connect(transport);

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/zhiwei5576/excel-mcp-server'

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