Skip to main content
Glama

mcp-any-openapi

by matthewhand
MIT License
39
  • Linux
  • Apple
import os import requests import json import base64 api_key = os.getenv('README_API_KEY') if not api_key: raise RuntimeError('README_API_KEY not set in environment!') with open('README.md') as f: body = f.read() payload = { 'title': 'README.md', 'category': 'test123', 'body': body } encoded = base64.b64encode(f'{api_key}:'.encode()).decode() headers = { 'accept': 'application/json', 'content-type': 'application/json', 'Authorization': f'Basic {encoded}' } response = requests.post('https://dash.readme.com/api/v1/docs', headers=headers, data=json.dumps(payload)) print(response.status_code) print(response.text)

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/matthewhand/mcp-openapi-proxy'

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