# API as MCP

> Use this tool when you need to integrate REST APIs with LLM clients through the MCP protocol, enabling seamless interaction with any API endpoint. It converts REST APIs into MCP tools using Gradio, allowing for effortless communication between LLM clients and API services. Ideal for use cases requiring API integration with LLM capabilities, such as natural language processing or machine learning model deployment.

Canonical page: https://skillsregistry.net/skills/krishnannarayanaswamy-api-as-mcp  
JSON: https://api.skillsregistry.net/v1/skills/krishnannarayanaswamy-api-as-mcp

## Description

Converts REST APIs into MCP tools using Gradio, demonstrated with a local IBM Granite model via Ollama. Enables LLM clients to interact with any REST API endpoint through the MCP protocol.

## Trust

- **Trust score (0–1):** 0.60
- **Verification tier:** unverified

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** ai-ml
- **Updated:** 2026-04-22

## Source

- **Source listing:** [Glama](https://glama.ai/mcp/servers/p7rjyy02k1)
- **Repository:** <https://github.com/krishnannarayanaswamy/api-as-mcp>

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "krishnannarayanaswamy-api-as-mcp"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/krishnannarayanaswamy-api-as-mcp` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/krishnannarayanaswamy-api-as-mcp/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
