
mcp alma api
一个用 TypeScript 编写的 MCP 协议服务器,支持通过 curl 工具执行 HTTP 请求。
Repository Info
About This Server
一个用 TypeScript 编写的 MCP 协议服务器,支持通过 curl 工具执行 HTTP 请求。
Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.
Documentation
MCP Inspector (Local Debugging)
You can use the MCP Inspector to debug and inspect your MCP server locally.
Usage
- Install (already in
optionalDependencies):npm install - Start your server with the inspector:
Or for local dev:npx mcp-inspector -- npx mcp-alma-apinpx mcp-inspector -- npx . - Open the inspector UI (URL will be shown in your terminal).
This allows you to see tool calls, inspect inputs/outputs, and debug issues interactively.
MCP Alma API Server
This project is an MCP (Model Context Protocol) server implemented in TypeScript, designed to be run as an npx-executable CLI. It exposes a tool called curl that allows AI or users to perform HTTP requests (GET, POST, PATCH, DELETE) with custom headers and payloads.
Features
- curl tool: Accepts a URL, headers, payload, and HTTP method. Performs the HTTP request and returns the response.
- Built with @modelcontextprotocol/sdk and zod.
- Ready for integration with Claude for Desktop and other MCP clients.
Usage
npx Usage
After building and publishing, you (or users) can run the server directly with:
npx mcp-alma-api
Or, for local development, use:
npx .
Development
- Install dependencies:
npm install - Build the project:
npm run build - (Optional) Run directly for testing:
node build/index.js
curl Tool API
- Input:
url(string): The endpoint to call.headers(object): Key-value pairs for HTTP headers.payload(object|string): The request body (for POST/PATCH/DELETE).method(string): One ofGET,POST,PATCH,DELETE.
- Output:
- The HTTP response body (JSON or text).
- Error information if the request fails.
Claude for Desktop MCP Server Settings Example
Add this to your Claude MCP config (e.g. claude_desktop_config.json):
{
"mcpServers": {
"mcp-alma-api": {
"command": "npx",
"args": ["mcp-alma-api"]
}
}
}
Development
- Source code is in
src/index.ts. - Build output is in
build/.
References
- Model Context Protocol Documentation
- TypeScript MCP Server Example
Quick Start
Clone the repository
git clone https://github.com/bgaeddert/mcp-alma-apiInstall dependencies
cd mcp-alma-api
npm installFollow the documentation
Check the repository's README.md file for specific installation and usage instructions.
Repository Details
Recommended MCP Servers
Discord MCP
Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.
Knit MCP
Connect AI agents to 200+ SaaS applications and automate workflows.
Apify MCP Server
Deploy and interact with Apify actors for web scraping and data extraction.
BrowserStack MCP
BrowserStack MCP Server for automated testing across multiple browsers.
Zapier MCP
A Zapier server that provides automation capabilities for various apps.